Skip to content

Commit 398a863

Browse files
authored
Fix getContract address for mumbai (#191)
1 parent 0572cbb commit 398a863

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

deployments/getContractAddress.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ export const getNetworkName = (network: ethers.providers.Networkish) => {
1313
if (standardName === 'unknown') {
1414
return 'localhost';
1515
}
16+
17+
if (standardName === 'maticmum') {
18+
return 'mumbai';
19+
}
1620

1721
return standardName ?? network;
1822
};

0 commit comments

Comments
 (0)