修正添加网络时, 提示decimals未定义的bug
This commit is contained in:
parent
2623de7606
commit
d3befa5b2e
@ -325,8 +325,8 @@ export class Blockchain {
|
||||
chainName: data.name,
|
||||
nativeCurrency: {
|
||||
name: data.symbol,
|
||||
symbol: data.symbol || 18,
|
||||
decimals: data.decimals
|
||||
symbol: data.symbol,
|
||||
decimals: data.decimals || 18
|
||||
},
|
||||
blockExplorerUrls: [data.explorerurl],
|
||||
rpcUrls: [data.rpc]
|
||||
|
Loading…
x
Reference in New Issue
Block a user