Skip to content

Commit

Permalink
cutUpgradeNoticePeriodBySignature
Browse files Browse the repository at this point in the history
  • Loading branch information
Barichek committed Nov 10, 2021
1 parent f3f9e78 commit f438f01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/contracts/AdditionalZkSync.sol
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ contract AdditionalZkSync is Storage, Config, Events, ReentrancyGuard {
address gatekeeper = 0x38A43F4330f24fe920F943409709fc9A6084C939;
(, bytes memory newTargets) = gatekeeper.call(abi.encodeWithSignature("nextTargets()"));

bytes32 targetsHash = abi.encodePacked(newTargets);
bytes32 targetsHash = keccak256(abi.encodePacked(newTargets));
bytes32 messageHash = keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", targetsHash));

for (uint256 i = 0; i < signatures.length; ++i) {
Expand Down

0 comments on commit f438f01

Please sign in to comment.