From 4f5c3b648b805ed207a9caedfb3c4a4f12c55f87 Mon Sep 17 00:00:00 2001 From: liangping <18786721@qq.com> Date: Fri, 16 Jun 2023 13:12:34 +0800 Subject: [PATCH] update keys reading --- src/modules/wallet/portfolio.vue | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/modules/wallet/portfolio.vue b/src/modules/wallet/portfolio.vue index e9f396c6..cb4be274 100644 --- a/src/modules/wallet/portfolio.vue +++ b/src/modules/wallet/portfolio.vue @@ -25,12 +25,7 @@ const tokenMeta = ref({} as Record); const loading = ref(0) const loaded = ref(0) -scanLocalKeys().forEach((wallet) => { - const { data } = fromBech32(wallet.cosmosAddress); - const walletKey = toBase64(data); - let imported = conf.value[walletKey]; - - // load balance & delegations +Object.values(conf.value).forEach((imported) => { if (imported) imported.forEach((x) => { if (x.endpoint && x.address) {