Skip to content

Commit

Permalink
Return all accounts in getAccounts.
Browse files Browse the repository at this point in the history
  • Loading branch information
NoahSaso committed Oct 16, 2023
1 parent d024f49 commit 369b03d
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions packages/stateful/components/dao/tabs/AppsTab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,13 @@ export const AppsTab = () => {
algo: 'secp256k1',
pubkey: await getPubKey(currentChainId),
},
...(await Promise.all(
Object.entries(polytoneProxies).map(async ([chainId, address]) => ({
address,
algo: 'secp256k1',
pubkey: await getPubKey(chainId),
}))
)),
] as AccountData[],
}),
},
Expand All @@ -232,6 +239,13 @@ export const AppsTab = () => {
algo: 'secp256k1',
pubkey: await getPubKey(currentChainId),
},
...(await Promise.all(
Object.entries(polytoneProxies).map(async ([chainId, address]) => ({
address,
algo: 'secp256k1',
pubkey: await getPubKey(chainId),
}))
)),
] as AccountData[],
}),
},
Expand Down

0 comments on commit 369b03d

Please sign in to comment.