Browse Source

Update ERC2771Forwarder assembly comment (#4972)

Co-authored-by: ernestognw <ernestognw@gmail.com>
Snoppy 1 year ago
parent
commit
0a5fba7a7e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      contracts/metatx/ERC2771Forwarder.sol

+ 1 - 1
contracts/metatx/ERC2771Forwarder.sol

@@ -311,7 +311,7 @@ contract ERC2771Forwarder is EIP712, Nonces {
         uint256 returnValue;
         uint256 returnValue;
         /// @solidity memory-safe-assembly
         /// @solidity memory-safe-assembly
         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)                                                      |
             // | Location  | Content  | Content (Hex)                                                      |
             // |-----------|----------|--------------------------------------------------------------------|
             // |-----------|----------|--------------------------------------------------------------------|
             // |           |          |                                                           result ↓ |
             // |           |          |                                                           result ↓ |