Skip to content

Commit

Permalink
Fix inaccurate comment for callGasLimit function in ERC4337Utils
Browse files Browse the repository at this point in the history
  • Loading branch information
voronor authored Dec 23, 2024
1 parent ba8b5cf commit 2b88e7c
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 @@ -114,7 +114,7 @@ library ERC4337Utils {
return uint128(self.accountGasLimits.extract_32_16(0));
}

/// @dev Returns `accountGasLimits` from the {PackedUserOperation}.
/// @dev Returns `callGasLimit` from the {PackedUserOperation}.
function callGasLimit(PackedUserOperation calldata self) internal pure returns (uint256) {
return uint128(self.accountGasLimits.extract_32_16(16));
}
Expand Down

0 comments on commit 2b88e7c

Please sign in to comment.