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

pull/5403/head^2
Voronor 1 month ago committed by GitHub
parent c73c23ffc9
commit c3b3ae7e82
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      contracts/account/utils/draft-ERC4337Utils.sol

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

Loading…
Cancel
Save