Add emit statement for event

This commit is contained in:
Râu Cao 2023-04-26 15:46:41 +02:00
parent 7eceea5d57
commit 708515ba4b
Signed by: raucao
GPG Key ID: 15E65F399D084BA9

View File

@ -86,7 +86,7 @@ contract Contributor is Initializable {
c.hashFunction = hashFunction; c.hashFunction = hashFunction;
c.hashSize = hashSize; 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 { function addContributor(address account, bytes32 hashDigest, uint8 hashFunction, uint8 hashSize) public {