Skip to content

Commit

Permalink
Fix for invalid total account balance value (#961)
Browse files Browse the repository at this point in the history
  • Loading branch information
bobo-k2 authored Oct 23, 2023
1 parent 68eefb5 commit 88bce99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/useBalance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ function useCall(addressRef: Ref<string>) {
locks
);

balanceRef.value = accountInfo.data.free;
balanceRef.value = accountInfo.data.free.add(accountInfo.data.reserved);
};

const updateAccountBalance = () => {
Expand Down

0 comments on commit 88bce99

Please sign in to comment.