Skip to content

Commit

Permalink
Fix balances
Browse files Browse the repository at this point in the history
  • Loading branch information
raducristianpopa committed Oct 23, 2024
1 parent f2acd19 commit d94b159
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/wallet/backend/src/account/service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ export class AccountService implements IAccountService {

return Number(
balances.find((balance) => balance.vault.asset_code === account.assetCode)
?.total ?? 0
?.available ?? 0
)
}

Expand Down

0 comments on commit d94b159

Please sign in to comment.