Skip to content

Commit

Permalink
Fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
forshtat committed Sep 16, 2024
1 parent 1ebe0c2 commit 20d43a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/predeploys/NonceManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ contract NonceManager {
/// @return nonce a full nonce to pass for next transaction with given sender and key.
function _get(bytes calldata /* data */) internal view returns (uint256 nonce) {
assembly {
// Check if calldata is 44 bytes long
// Check if calldata is 20+32 bytes long
if iszero(eq(calldatasize(), 52)) {
mstore(0x00, 0x947d5a84) // 'InvalidLength()'
revert(0x1c, 0x04)
Expand Down

0 comments on commit 20d43a6

Please sign in to comment.