We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f50104 commit 6cc96e7Copy full SHA for 6cc96e7
src/utilities.js
@@ -140,7 +140,7 @@ export function isMobileDevice() {
140
export function networkName(id) {
141
switch (id) {
142
case 1:
143
- return "main"
+ return "mainnet"
144
case 3:
145
return "ropsten"
146
case 4:
@@ -158,7 +158,7 @@ export function networkName(id) {
158
159
export function networkToId(network) {
160
switch (network) {
161
- case "main":
+ case "mainnet":
162
return 1
163
case "ropsten":
164
return 3
0 commit comments