Skip to content

Commit

Permalink
Improve spelling in ERC1155 revert reasons (#3433)
Browse files Browse the repository at this point in the history
  • Loading branch information
lexmag committed Jul 12, 2022
1 parent 3210a86 commit 6ab8d6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/token/ERC1155/ERC1155.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
}
}
Expand All @@ -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");
}
}
}
Expand Down

0 comments on commit 6ab8d6a

Please sign in to comment.