Skip to content

Commit

Permalink
PR comment
Browse files Browse the repository at this point in the history
  • Loading branch information
soloseng committed Dec 20, 2023
1 parent 3b383e6 commit bee30b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/protocol/contracts/governance/Governance.sol
Original file line number Diff line number Diff line change
Expand Up @@ -952,7 +952,7 @@ contract Governance is
uint256[] calldata dataLengths,
bytes32 salt
) external {
bytes32 hash = this.getHotfixHash(values, destinations, data, dataLengths, salt);
bytes32 hash = keccak256(abi.encode(values, destinations, data, dataLengths, salt));

(bool approved, bool executed, uint256 preparedEpoch) = getHotfixRecord(hash);
require(!executed, "hotfix already executed");
Expand Down

0 comments on commit bee30b8

Please sign in to comment.