diff --git a/src/wallets/wallet-pool.ts b/src/wallets/wallet-pool.ts index b1ec403..0cbb9a1 100644 --- a/src/wallets/wallet-pool.ts +++ b/src/wallets/wallet-pool.ts @@ -92,7 +92,7 @@ export class LocalWalletPool implements WalletPool { } private getHighestBalanceWallet(): ResourceWithBalance | undefined { - if (!this.availableResources.length) return; + if (!this.availableResources().length) return; return this.availableResources().reduce((acc, curr) => { if (!acc) return curr;