Skip to content

Commit c3b3ae7

Browse files
authored
Fix inaccurate comment for the callGasLimit function in ERC4337Utils (#5397)
1 parent c73c23f commit c3b3ae7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contracts/account/utils/draft-ERC4337Utils.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ library ERC4337Utils {
114114
return uint128(self.accountGasLimits.extract_32_16(0));
115115
}
116116

117-
/// @dev Returns `accountGasLimits` from the {PackedUserOperation}.
117+
/// @dev Returns `callGasLimit` from the {PackedUserOperation}.
118118
function callGasLimit(PackedUserOperation calldata self) internal pure returns (uint256) {
119119
return uint128(self.accountGasLimits.extract_32_16(16));
120120
}

0 commit comments

Comments
 (0)