update keys reading
This commit is contained in:
parent
12dbaee973
commit
4f5c3b648b
@ -25,12 +25,7 @@ const tokenMeta = ref({} as Record<string, AccountEntry>);
|
|||||||
const loading = ref(0)
|
const loading = ref(0)
|
||||||
const loaded = ref(0)
|
const loaded = ref(0)
|
||||||
|
|
||||||
scanLocalKeys().forEach((wallet) => {
|
Object.values(conf.value).forEach((imported) => {
|
||||||
const { data } = fromBech32(wallet.cosmosAddress);
|
|
||||||
const walletKey = toBase64(data);
|
|
||||||
let imported = conf.value[walletKey];
|
|
||||||
|
|
||||||
// load balance & delegations
|
|
||||||
if (imported)
|
if (imported)
|
||||||
imported.forEach((x) => {
|
imported.forEach((x) => {
|
||||||
if (x.endpoint && x.address) {
|
if (x.endpoint && x.address) {
|
||||||
|
Loading…
Reference in New Issue
Block a user