Преглед изворни кода

Update ERC2771Forwarder assembly comment (#4972)

Co-authored-by: ernestognw <ernestognw@gmail.com>
Snoppy пре 1 година
родитељ
комит
0a5fba7a7e
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      contracts/metatx/ERC2771Forwarder.sol

+ 1 - 1
contracts/metatx/ERC2771Forwarder.sol

@@ -311,7 +311,7 @@ contract ERC2771Forwarder is EIP712, Nonces {
         uint256 returnValue;
         /// @solidity memory-safe-assembly
         assembly {
-            // Perform the staticcal and save the result in the scratch space.
+            // Perform the staticcall and save the result in the scratch space.
             // | Location  | Content  | Content (Hex)                                                      |
             // |-----------|----------|--------------------------------------------------------------------|
             // |           |          |                                                           result ↓ |