Skip to content

Commit

Permalink
fix: update total to bypass oasis-explorer's
Browse files Browse the repository at this point in the history
  • Loading branch information
Tristan Foureur committed May 18, 2021
1 parent a9f1e9a commit 7b8985d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/pages/AccountPage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export function AccountPage(props: Props) {
delegations: balanceDelegations, //@TODO oasis-explorer : account.debonding_delegations_balance ?? 0,
debonding: balanceDebondingDelegations, //@TODO oasis-explorer : account.delegations_balance ?? 0,
escrow: account.escrow_balance ?? 0,
total: account.total_balance ?? 0,
total: (account.liquid_balance ?? 0) + balanceDelegations + balanceDebondingDelegations,
}

useEffect(() => {
Expand Down

0 comments on commit 7b8985d

Please sign in to comment.