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 3975d8f commit 16c7b8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/4337/contracts/Safe4337Module.sol
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ contract Safe4337Module is IAccount, HandlerContext, CompatibilityFallbackHandle
/// @solidity memory-safe-assembly
assembly {
let signaturePos := mul(0x41, i)
// read the Safe signature type (uint8) from calldata.
// read the Safe signature type byte from the signatures bytes, this is the 64th byte per signature.
let signatureType := byte(0, calldataload(add(signatures.offset, add(signaturePos, 0x40))))

// signatureType = 0 indicates that signature is a smart contract signature in Safe Signature Encoding
Expand Down

0 comments on commit 16c7b8b

Please sign in to comment.