From: Ardis Lu Date: Mon, 4 Dec 2023 06:14:51 +0000 (-0800) Subject: Use concise language X-Git-Url: https://git.ardis.lu/?a=commitdiff_plain;h=d21326fd6471aee98ab92a693e3fe9c70a0ed391;p=solc-metadata Use concise language "from IPFS" is already implied in the detail --- diff --git a/index.html b/index.html index 279c731..5a2f983 100644 --- a/index.html +++ b/index.html @@ -242,7 +242,7 @@ logOutput(result, '✅ Successfully fetched JSON metadata.', JSON.stringify(json, null, 2)); } catch { - logOutput(result, '❌ Failed to fetch JSON metadata from IPFS.', `IPFS node: ${ipfs}`); + logOutput(result, '❌ Failed to fetch JSON metadata.', `IPFS node: ${ipfs}`); } } @@ -252,10 +252,10 @@ try { const cidV0 = source.urls[1].substring(11); const code = await fetchCID(cidV0, ipfs).then(r => r.text()); - logOutput(result, `✅ Successfully fetched source code for "${file}" from IPFS.`, code); + logOutput(result, `✅ Successfully fetched source code for "${file}".`, code); } catch { - logOutput(result, `❌ Failed to fetch source code for "${file}" from IPFS.`, `IPFS node: ${ipfs}`); + logOutput(result, `❌ Failed to fetch source code for "${file}".`, `IPFS node: ${ipfs}`); } } }