Skip to content

Commit

Permalink
Update modules/4337/contracts/Safe4337Module.sol
Browse files Browse the repository at this point in the history
Co-authored-by: Nicholas Rodrigues Lordello <[email protected]>
  • Loading branch information
akshay-ap and nlordell authored Jul 10, 2024
1 parent c2a0770 commit e7c2348
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/4337/contracts/Safe4337Module.sol
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,8 @@ contract Safe4337Module is IAccount, HandlerContext, CompatibilityFallbackHandle
let signatureStartPointer := calldataload(add(signatures.offset, add(signaturePos, 0x20)))
pointsAtEnd := eq(signatureStartPointer, offset)
let contractSignatureLen := calldataload(add(signatures.offset, signatureStartPointer))
// Update the required position of the next offset.
offset := add(add(signatureStartPointer, 0x20), contractSignatureLen)
// Update the expected offset of the next contract signature. This is the previous expected offset plus the total length of the current contract signature. Note that we add 0x20 to the contract signature length to account for the encoded length value.
offset := add(offset, add(0x20, contractSignatureLen))
}
}
/* solhint-enable no-inline-assembly */
Expand Down

0 comments on commit e7c2348

Please sign in to comment.