Skip to content

Commit

Permalink
Fix inaccurate comment for the 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 c73c23f commit c3b3ae7
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 c3b3ae7

Please sign in to comment.