From 708515ba4bffb0d33fa028947e5d7978cc62ae2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A2u=20Cao?= Date: Wed, 26 Apr 2023 15:46:41 +0200 Subject: [PATCH] Add emit statement for event --- contracts/Contributor.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/Contributor.sol b/contracts/Contributor.sol index 9c39b5a..c752e00 100644 --- a/contracts/Contributor.sol +++ b/contracts/Contributor.sol @@ -86,7 +86,7 @@ contract Contributor is Initializable { c.hashFunction = hashFunction; c.hashSize = hashSize; - ContributorProfileUpdated(id, oldHashDigest, c.hashDigest); + emit ContributorProfileUpdated(id, oldHashDigest, c.hashDigest); } function addContributor(address account, bytes32 hashDigest, uint8 hashFunction, uint8 hashSize) public {