Skip to content

Commit

Permalink
msig support on other network for rekeyed accounts
Browse files Browse the repository at this point in the history
  • Loading branch information
scholtz committed Jan 10, 2024
1 parent 0c9bf8b commit 6c1714e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/pages/AccountOverview.vue
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,7 @@ export default {
);
},
account() {
var acc = this.$store.state.wallet.privateAccounts.find(
const acc = this.$store.state.wallet.privateAccounts.find(
(a) =>
a.addr == this.$route.params.account &&
(a.network === undefined || a.network == this.$store.state.config.env)
Expand All @@ -629,11 +629,15 @@ export default {
return this.$store.state.wallet.lastActiveAccount;
},
rekeyedToInfo() {
return this.$store.state.wallet.privateAccounts.find(
const acc = this.$store.state.wallet.privateAccounts.find(
(a) =>
a.addr == this.account.rekeyedTo &&
(a.network === undefined || a.network == this.$store.state.config.env)
);
if (acc) return acc;
return this.$store.state.wallet.privateAccounts.find(
(a) => a.addr == this.account.rekeyedTo
);
},
rekeyedMultisigParams() {
const rekeyedInfo = this.$store.state.wallet.privateAccounts.find(
Expand Down

1 comment on commit 6c1714e

@vercel
Copy link

@vercel vercel bot commented on 6c1714e Jan 10, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.