Fix typo in ERC4337Utils.paymasterData comments (#5333)

pull/5334/head
Simka 2 months ago committed by GitHub
parent 78be1b39aa
commit a3a6db86d5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      contracts/account/utils/draft-ERC4337Utils.sol

@ -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:];
}

Loading…
Cancel
Save