Skip to content
This repository has been archived by the owner on Nov 27, 2024. It is now read-only.

Commit

Permalink
support
Browse files Browse the repository at this point in the history
  • Loading branch information
0xrajath committed Dec 7, 2023
1 parent ae21b2e commit 890ad6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/token-voting/TokenholderCaster.sol
Original file line number Diff line number Diff line change
Expand Up @@ -448,15 +448,15 @@ abstract contract TokenholderCaster is Initializable {
/// recover the signer.
function _getCastDisapprovalTypedDataHash(
address tokenholder,
uint8 role,
uint8 support,
ActionInfo calldata actionInfo,
string calldata reason
) internal returns (bytes32) {
bytes32 castDisapprovalHash = keccak256(
abi.encode(
CAST_DISAPPROVAL_BY_SIG_TYPEHASH,
tokenholder,
role,
support,
_getActionInfoHash(actionInfo),
keccak256(bytes(reason)),
_useNonce(tokenholder, msg.sig)
Expand Down

0 comments on commit 890ad6c

Please sign in to comment.