From: Ardis Lu Date: Tue, 2 May 2023 04:41:51 +0000 (-0700) Subject: Fix typo X-Git-Url: https://git.ardis.lu/?a=commitdiff_plain;h=4481c13e6b419d5b27cc8f181a62a4e1cfbe0389;p=solc-metadata Fix typo Wrong key was referenced --- 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}`; }