Skip to content

Commit

Permalink
Fix typo in ERC4337Utils.paymasterData comments (#5333)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xsimka authored Dec 2, 2024
1 parent 78be1b3 commit a3a6db8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/account/utils/draft-ERC4337Utils.sol
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ library ERC4337Utils {
return self.paymasterAndData.length < 52 ? 0 : uint128(bytes16(self.paymasterAndData[36:52]));
}

/// @dev Returns the forth section of `paymasterAndData` from the {PackedUserOperation}.
/// @dev Returns the fourth section of `paymasterAndData` from the {PackedUserOperation}.
function paymasterData(PackedUserOperation calldata self) internal pure returns (bytes calldata) {
return self.paymasterAndData.length < 52 ? _emptyCalldataBytes() : self.paymasterAndData[52:];
}
Expand Down

0 comments on commit a3a6db8

Please sign in to comment.