From a215bea0bff068aca524b4229f94deaff5828e56 Mon Sep 17 00:00:00 2001
From: liangping <18786721@qq.com>
Date: Sat, 25 Feb 2023 14:36:08 +0800
Subject: [PATCH] update logo
---
src/chains/mainnet/juno.json | 4 +---
src/views/Home.vue | 4 ++--
2 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/src/chains/mainnet/juno.json b/src/chains/mainnet/juno.json
index ccb80042..7996dd15 100644
--- a/src/chains/mainnet/juno.json
+++ b/src/chains/mainnet/juno.json
@@ -1,10 +1,8 @@
{
"chain_name": "juno",
- "coingecko": "juno-network",
"api": ["https://api.uni.junonetwork.io"],
"rpc": [""],
- "snapshot_provider": "",
- "sdk_version": "0.45.8",
+ "sdk_version": "0.46.1",
"coin_type": "118",
"min_tx_fee": "3000",
"addr_prefix": "juno",
diff --git a/src/views/Home.vue b/src/views/Home.vue
index 8f00b6ef..acc17f0c 100644
--- a/src/views/Home.vue
+++ b/src/views/Home.vue
@@ -3,7 +3,7 @@
-
+
@@ -173,7 +173,7 @@ export default {
fetch(k) {
const chain = this.chains[k]
if (chain.api) {
- const index = localStorage.getItem(`${chain.chain_name}-api-index`) || 0
+ const index = 0
const host = Array.isArray(chain.api) ? chain.api[index] : chain.api
fetch(`${host}/cosmos/base/tendermint/v1beta1/blocks/latest`).then(res => res.json()).then(b => {
const { header } = b.block