From 66f6eade5701b5ba948090cc2c01b3b71fbde449 Mon Sep 17 00:00:00 2001 From: bhavik Date: Thu, 23 Dec 2021 00:40:36 +0530 Subject: [PATCH] changed hardhat.config.ts --- hardhat.config.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hardhat.config.ts b/hardhat.config.ts index 2fd3bab8..af8ea557 100644 --- a/hardhat.config.ts +++ b/hardhat.config.ts @@ -112,8 +112,8 @@ const config: HardhatUserConfig = { sources: "./contracts", tests: "./test", }, - etherscan: { - apiKey: getScanApiKey(String(process.env.networkType)), + etherscan: { + apiKey: getScanApiKey(getNetworkUrl(String(process.env.networkType))), }, typechain: { outDir: "typechain",