Skip to content

Commit

Permalink
chore: adding names
Browse files Browse the repository at this point in the history
  • Loading branch information
kupermind committed May 13, 2024
1 parent 48e32b4 commit a916df0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions contracts/VoteWeighting.sol
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ pragma solidity ^0.8.23;

// Dispenser interface
interface IDispenser {
/// @dev Enables nominee in dispenser.
/// @dev Records nominee addition in dispenser.
/// @param nomineeHash Nominee hash.
function enableNominee(bytes32 nomineeHash) external;
function addNominee(bytes32 nomineeHash) external;

/// @dev Records nominee removal.
/// @param nomineeHash Nominee hash.
Expand Down Expand Up @@ -287,7 +287,7 @@ contract VoteWeighting {
// Enable nominee in dispenser, if applicable
address localDispenser = dispenser;
if (localDispenser != address(0)) {
IDispenser(localDispenser).enableNominee(nomineeHash);
IDispenser(localDispenser).addNominee(nomineeHash);
}

emit AddNominee(nominee.account, nominee.chainId, id);
Expand Down

0 comments on commit a916df0

Please sign in to comment.