Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/server/blockchain/MultiWallet.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,9 @@ class MultiWallet {
}

async isConnected(account) {
const results = await Promise.all(this.wallets.map(wallet => wallet.isConnected(account)))
// Base has no Identity contract; isConnected would fail there. Only run on wallets that have Identity.
const walletsWithIdentity = this.wallets.filter(w => !(w instanceof BaseAdminWallet))
const results = await Promise.all(walletsWithIdentity.map(wallet => wallet.isConnected(account)))
return results.some(Boolean)
}

Expand Down
Loading