Skip to content

Commit

Permalink
fix: use avaialbeResources as method and not a getter
Browse files Browse the repository at this point in the history
  • Loading branch information
brianUtn98 committed Dec 14, 2023
1 parent b4d9c5d commit 406410f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wallets/wallet-pool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 406410f

Please sign in to comment.