From 5272799bddde33da19863942c98ee38e1349110e Mon Sep 17 00:00:00 2001 From: Andrew B Coathup <28278242+abcoathup@users.noreply.github.com> Date: Fri, 13 Nov 2020 08:23:35 +1100 Subject: [PATCH] Fix ERC1155 URI example (#2401) --- docs/modules/ROOT/pages/erc1155.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/modules/ROOT/pages/erc1155.adoc b/docs/modules/ROOT/pages/erc1155.adoc index 414237b07..9180a4b52 100644 --- a/docs/modules/ROOT/pages/erc1155.adoc +++ b/docs/modules/ROOT/pages/erc1155.adoc @@ -45,7 +45,7 @@ contract GameItems is ERC1155 { uint256 public constant SWORD = 3; uint256 public constant SHIELD = 4; - constructor() public ERC1155("https://game.example/api/item/{1}.json") { + constructor() public ERC1155("https://game.example/api/item/{id}.json") { _mint(msg.sender, GOLD, 10**18, ""); _mint(msg.sender, SILVER, 10**27, ""); _mint(msg.sender, THORS_HAMMER, 1, "");