Skip to content

Commit

Permalink
Update index.ts (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
sakulstra authored Oct 3, 2024
1 parent 2db7ed7 commit c035e90
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 c035e90

Please sign in to comment.