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 88410f6 commit 6a1afc0Copy full SHA for 6a1afc0
src/utilities.ts
@@ -325,6 +325,8 @@ export function networkName(id: number): string {
325
return 'kovan'
326
case 100:
327
return 'xdai'
328
+ case 42220:
329
+ return 'celo'
330
default:
331
const { networkId, networkName } = get(app)
332
return (networkId === id && networkName) || 'unknown'
@@ -345,6 +347,8 @@ export function networkToId(network: string): number {
345
347
return 42
346
348
case 'xdai':
349
return 100
350
+ case 'celo':
351
+ return 42220
352
353
return 0
354
}
0 commit comments