From 25519fc9c4f6a68f4da732043178ec84c3cd36c6 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 bbb390a9..6158e1b5 100644 --- a/hardhat.config.ts +++ b/hardhat.config.ts @@ -118,8 +118,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",