Browse Source

Improve spelling in ERC1155 revert reasons (#3433)

Aleksei Magusev 3 years ago
parent
commit
6ab8d6a67e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      contracts/token/ERC1155/ERC1155.sol

+ 2 - 2
contracts/token/ERC1155/ERC1155.sol

@@ -480,7 +480,7 @@ contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI {
             } catch Error(string memory reason) {
                 revert(reason);
             } catch {
-                revert("ERC1155: transfer to non ERC1155Receiver implementer");
+                revert("ERC1155: transfer to non-ERC1155Receiver implementer");
             }
         }
     }
@@ -503,7 +503,7 @@ contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI {
             } catch Error(string memory reason) {
                 revert(reason);
             } catch {
-                revert("ERC1155: transfer to non ERC1155Receiver implementer");
+                revert("ERC1155: transfer to non-ERC1155Receiver implementer");
             }
         }
     }