Skip to content

Commit

Permalink
fix: update NetworkName
Browse files Browse the repository at this point in the history
  • Loading branch information
AnilChinchawale committed Aug 1, 2023
1 parent c3aaf19 commit 544a662
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/commands/config/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ const convertNetworkToNetworkCmdName = (selectedNetwork: TestNetwork): NetworkCm
[TestNetwork.Goerli]: NetworkCmdName.Goerli,
[TestNetwork.Sepolia]: NetworkCmdName.Sepolia,
[TestNetwork.Mumbai]: NetworkCmdName.Maticmum,
[TestNetwork.Apothem]: NetworkCmdName.Apothem,
[TestNetwork.Apothem]: NetworkCmdName.XDCApothem,
};
return network[selectedNetwork];
};
4 changes: 2 additions & 2 deletions src/commands/networks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export enum NetworkCmdName {
Matic = "matic",
Maticmum = "maticmum",
XDC = "xdc",
Apothem = "xdcapothem",
XDCApothem = "xdcapothem",
}

const defaultInfuraProvider =
Expand Down Expand Up @@ -83,7 +83,7 @@ export const supportedNetwork: {
networkName: "xdc",
currency: "XDC",
},
[NetworkCmdName.Apothem]: {
[NetworkCmdName.XDCApothem]: {
explorer: "https://apothem.xdcscan.io",
provider: jsonRpcProvider("https://erpc.apothem.network"),
networkId: 51,
Expand Down

0 comments on commit 544a662

Please sign in to comment.