From: Ardis Lu Date: Thu, 4 May 2023 05:05:47 +0000 (-0700) Subject: Use concise message X-Git-Url: https://git.ardis.lu/?a=commitdiff_plain;h=3e1c56bc51eede05505bc0ae604648c822e4299b;p=solc-metadata Use concise message Avoids horizontal scrollbar on output --- diff --git a/index.html b/index.html index 4695978..6bd9126 100644 --- a/index.html +++ b/index.html @@ -134,12 +134,12 @@ let output; if (metadata.bzzr0 !== undefined) { const hex = [...metadata.bzzr0].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 = 'Unable to fetch metadata because the smart contract uses a Swarm hash:\n'; output += `bzzr://${hex}`; } else if (metadata.bzzr1 !== undefined) { 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 = 'Unable to fetch metadata because the smart contract uses a Swarm hash:\n'; output += `bzz-raw://${hex}`; } else {