فهرست منبع

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

Voronor 9 ماه پیش
والد
کامیت
c3b3ae7e82
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      contracts/account/utils/draft-ERC4337Utils.sol

+ 1 - 1
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));
     }