From 09eb5bcc9f1c11b691cfd1f8ef368ae146348224 Mon Sep 17 00:00:00 2001 From: liangping <18786721@qq.com> Date: Fri, 8 Apr 2022 19:12:35 +0800 Subject: [PATCH] update configs --- src/chains/mainnet/secret.json | 2 +- src/chains/mainnet/umee.json | 2 +- src/views/SummaryAssetsComponent.vue | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/chains/mainnet/secret.json b/src/chains/mainnet/secret.json index 7a7ee5ce..85d17481 100644 --- a/src/chains/mainnet/secret.json +++ b/src/chains/mainnet/secret.json @@ -1,7 +1,7 @@ { "chain_name": "secret", "coingecko": "secret", - "api": "https://api.scrt.network", + "api": ["https://api.roninventures.io","https://api.scrt.network"], "rpc": ["http://beta-api.scrt.network:26657", "https://api.scrt.network:443"], "snapshot_provider": "", "sdk_version": "0.33.8", diff --git a/src/chains/mainnet/umee.json b/src/chains/mainnet/umee.json index 8ed21be0..0721e1d4 100644 --- a/src/chains/mainnet/umee.json +++ b/src/chains/mainnet/umee.json @@ -2,7 +2,7 @@ "chain_name": "umee", "api": ["https://api.blue.main.network.umee.cc", "https://api.bottlenose.main.network.umee.cc", "https://api.apollo.main.network.umee.cc", "https://api.aphrodite.main.network.umee.cc", "https://api.artemis.main.network.umee.cc", "https://api.athena.main.network.umee.cc", "https://api.beaked.main.network.umee.cc"], "rpc": ["https://rpc.aphrodite.main.network.umee.cc:443", "https://rpc.apollo.main.network.umee.cc:443"], - "snapshot_provider": "", + "snapshot_provider": "d97750eddfe88fcd0be61694c396d4491217549b@94.250.203.6:26696,c12ac110e0249f0cef55599b335892444e4a21ac@142.132.198.227:26656", "sdk_version": "0.45.1", "coin_type": "118", "min_tx_fee": "8000", diff --git a/src/views/SummaryAssetsComponent.vue b/src/views/SummaryAssetsComponent.vue index b605064a..ea49993e 100644 --- a/src/views/SummaryAssetsComponent.vue +++ b/src/views/SummaryAssetsComponent.vue @@ -61,11 +61,11 @@ export default { }, methods: { formatDenom(v) { - if (this.denoms[v]) { - const trace = this.denoms[v] - return `* ${formatTokenDenom(trace.base_denom)} (${trace.path})` + const trace = this.denoms[v] + if (trace) { + return `* ${formatTokenDenom(trace)}` } - return v + return formatTokenDenom(v) }, }, }