From 6f85bdea0f448086ba4ac7fc7f26b3fab851e75a Mon Sep 17 00:00:00 2001 From: yann300 Date: Thu, 1 Oct 2020 22:03:13 +0200 Subject: [PATCH] make sure the network name comply with sourcify standard --- .../src/app/compiler/compiler-sourceVerifier-fetchAndCompile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/remix-ide/src/app/compiler/compiler-sourceVerifier-fetchAndCompile.js b/apps/remix-ide/src/app/compiler/compiler-sourceVerifier-fetchAndCompile.js index b03ef1f513..7a22ef4beb 100644 --- a/apps/remix-ide/src/app/compiler/compiler-sourceVerifier-fetchAndCompile.js +++ b/apps/remix-ide/src/app/compiler/compiler-sourceVerifier-fetchAndCompile.js @@ -69,7 +69,7 @@ export default class FetchAndCompile extends Plugin { } let name = network.name.toLowerCase() - name === 'main' ? 'mainnet' : name // source-verifier api expect "mainnet" and not "main" + name = name === 'main' ? 'mainnet' : name // source-verifier api expect "mainnet" and not "main" let data try { data = await this.call('source-verification', 'fetchByNetwork', contractAddress, name.toLowerCase())