Fix inaccurate comment for the callGasLimit function in ERC4337Utils (#5397)
This commit is contained in:
@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user