From 12f313b34f32dee0f34504b3d6736c5d6b0d3359 Mon Sep 17 00:00:00 2001 From: agusduha Date: Fri, 5 Jan 2024 11:29:49 -0300 Subject: [PATCH] fix: function misspelling --- solidity/contracts/governance/utils/WonderVotes.sol | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/solidity/contracts/governance/utils/WonderVotes.sol b/solidity/contracts/governance/utils/WonderVotes.sol index 5508159..531f6c7 100644 --- a/solidity/contracts/governance/utils/WonderVotes.sol +++ b/solidity/contracts/governance/utils/WonderVotes.sol @@ -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); } /**