use number type
This commit is contained in:
parent
76337f02d0
commit
8c13815aa8
@ -475,9 +475,9 @@ export default {
|
||||
rpc: Array.isArray(chain.rpc) ? chain.rpc[0] : chain.rpc,
|
||||
rest: Array.isArray(chain.api) ? chain.api[0] : chain.api,
|
||||
bip44: {
|
||||
coinType: chain.coin_type,
|
||||
coinType: Number(chain.coin_type),
|
||||
},
|
||||
coinType: chain.coin_type,
|
||||
coinType: Number(chain.coin_type),
|
||||
bech32Config: {
|
||||
bech32PrefixAccAddr: chain.addr_prefix,
|
||||
bech32PrefixAccPub: `${chain.addr_prefix}pub`,
|
||||
@ -490,7 +490,7 @@ export default {
|
||||
{
|
||||
coinDenom: chain.assets[0].symbol,
|
||||
coinMinimalDenom: chain.assets[0].base,
|
||||
coinDecimals: chain.assets[0].exponent,
|
||||
coinDecimals: Number(chain.assets[0].exponent),
|
||||
coinGeckoId: chain.assets[0].coingecko_id || 'unknown',
|
||||
},
|
||||
],
|
||||
@ -498,7 +498,7 @@ export default {
|
||||
{
|
||||
coinDenom: chain.assets[0].symbol,
|
||||
coinMinimalDenom: chain.assets[0].base,
|
||||
coinDecimals: chain.assets[0].exponent,
|
||||
coinDecimals: Number(chain.assets[0].exponent),
|
||||
coinGeckoId: chain.assets[0].coingecko_id || 'unknown',
|
||||
gasPriceStep,
|
||||
},
|
||||
@ -507,7 +507,7 @@ export default {
|
||||
stakeCurrency: {
|
||||
coinDenom: chain.assets[0].symbol,
|
||||
coinMinimalDenom: chain.assets[0].base,
|
||||
coinDecimals: chain.assets[0].exponent,
|
||||
coinDecimals: Number(chain.assets[0].exponent),
|
||||
coinGeckoId: chain.assets[0].coingecko_id || 'unknown',
|
||||
},
|
||||
features: chain.keplr_features || [],
|
||||
|
Loading…
Reference in New Issue
Block a user