From 6ab8d6a67e3281ab062bdbe4df32b95c6409ee6d Mon Sep 17 00:00:00 2001 From: Aleksei Magusev <248290+lexmag@users.noreply.github.com> Date: Tue, 12 Jul 2022 07:00:12 -0700 Subject: [PATCH] Improve spelling in ERC1155 revert reasons (#3433) --- contracts/token/ERC1155/ERC1155.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contracts/token/ERC1155/ERC1155.sol b/contracts/token/ERC1155/ERC1155.sol index 7b3a7a45e..9e8f79ed7 100644 --- a/contracts/token/ERC1155/ERC1155.sol +++ b/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"); } } }