Skip to content

Commit

Permalink
fix: function misspelling
Browse files Browse the repository at this point in the history
  • Loading branch information
agusduha committed Jan 5, 2024
1 parent 0f19e39 commit 12f313b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions solidity/contracts/governance/utils/WonderVotes.sol
Original file line number Diff line number Diff line change
Expand Up @@ -289,15 +289,15 @@ abstract contract WonderVotes is Context, EIP712, Nonces, IERC6372, IWonderVotes
}

/**
* @dev Migrate the sender delegation for a given `proposalType` to a `newDelegatee`.
* @dev Migrate the sender delegation for a given `proposalType` from a `oldDelegatee` to a `newDelegatee`.
*/
function changeDelegation(
uint8 proposalType,
address oldeDelegatee,
address oldDelegatee,
address newDelegatee
) public virtual validProposalType(proposalType) activeDelegate(newDelegatee) {
address account = _msgSender();
_changeDelegate(account, proposalType, oldeDelegatee, newDelegatee);
_changeDelegate(account, proposalType, oldDelegatee, newDelegatee);
}

/**
Expand Down

0 comments on commit 12f313b

Please sign in to comment.