Skip to content

Commit d94b159

Browse files
Fix balances
1 parent f2acd19 commit d94b159

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/wallet/backend/src/account/service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ export class AccountService implements IAccountService {
210210

211211
return Number(
212212
balances.find((balance) => balance.vault.asset_code === account.assetCode)
213-
?.total ?? 0
213+
?.available ?? 0
214214
)
215215
}
216216

0 commit comments

Comments
 (0)