From 4481c13e6b419d5b27cc8f181a62a4e1cfbe0389 Mon Sep 17 00:00:00 2001 From: Ardis Lu Date: Mon, 1 May 2023 21:41:51 -0700 Subject: [PATCH] Fix typo Wrong key was referenced --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 49cf5d7..be496f6 100644 --- a/index.html +++ b/index.html @@ -129,7 +129,7 @@ output += `bzzr://${hex}`; } else if (metadata.bzzr1 !== undefined) { - const hex = [...metadata.bzzr0].map(b => b.toString(16).padStart(2, '0')).join(''); + const hex = [...metadata.bzzr1].map(b => b.toString(16).padStart(2, '0')).join(''); output = 'Unable to fetch metadata because the smart contract uses a Swarm hash. Swarm hash below:\n'; output += `bzz-raw://${hex}`; } -- 2.47.3