Skip to content

Commit

Permalink
Update index.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
sakulstra authored Sep 25, 2024
1 parent 2db7ed7 commit 57f9414
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const main = async () => {

greets();

const networkConfig = NETWORK_CONFIGS[parsedRun.chain];
const networkConfig = NETWORK_CONFIGS[parsedRun.chain] || {};
if (args.rpcUrl) networkConfig.RPC = args.rpcUrl;
if (args.explorerUrl) networkConfig.explorers = [{ API_URL: args.explorerUrl, API_KEY: args.etherscanApiKey }];

Expand Down

0 comments on commit 57f9414

Please sign in to comment.