Fix inaccurate comment for the callGasLimit function in ERC4337Utils (#5397)

This commit is contained in:
Voronor
2024-12-23 19:39:10 +01:00
committed by GitHub
parent c73c23ffc9
commit c3b3ae7e82

View File

@ -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));
}