diff --git a/src/modules/wallet/accounts.vue b/src/modules/wallet/accounts.vue index 8ed48924..b4e9fba9 100644 --- a/src/modules/wallet/accounts.vue +++ b/src/modules/wallet/accounts.vue @@ -236,7 +236,7 @@ async function addAddress(acc: AccountEntry) {
+
@@ -258,7 +258,7 @@ async function addAddress(acc: AccountEntry) {
{{ acc.chainName }}
-
+
|
diff --git a/src/modules/wallet/utils.ts b/src/modules/wallet/utils.ts
index bdc90688..f096d9c3 100644
--- a/src/modules/wallet/utils.ts
+++ b/src/modules/wallet/utils.ts
@@ -31,9 +31,8 @@ export function scanCompatibleAccounts() {
const dashboard = useDashboard()
const available = [] as AccountEntry[]
scanLocalKeys().forEach(wallet => {
- dashboard.favorite.forEach(chainName => {
- const chain = dashboard.chains[chainName]
- if (chain && wallet.hdPath.indexOf(chain.coinType) === 6) {
+ Object.values(dashboard.chains).forEach(chain => {
+ if (wallet.hdPath.indexOf(chain.coinType) === 6) {
const { data } = fromBech32(wallet.cosmosAddress)
available.push({
chainName: chain.chainName,