Skip to content

Commit

Permalink
Checksum multicall address on addNetwork script (#891)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChaituVR authored Sep 7, 2023
1 parent 83e8647 commit b9dae0b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/addNetwork.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
const networks = require('../src/networks.json');
import { getAddress } from '@ethersproject/address';

if (process.argv.length < 7) {
console.log(
Expand All @@ -10,7 +11,7 @@ if (process.argv.length < 7) {
const args = process.argv.slice(2);
const chainId = args[0];
const explorer = args[1];
const multicall = args[2];
const multicall = getAddress(args[2]);
const start = args[3];
const logo = args[4];
const networkName = args[5];
Expand Down

0 comments on commit b9dae0b

Please sign in to comment.