Skip to content

Commit

Permalink
Always confirmed
Browse files Browse the repository at this point in the history
  • Loading branch information
bbedward committed Jul 1, 2024
1 parent 34cea02 commit 9d4b7dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/models/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ async def get_available_balance(self) -> int:
"""Get available balance of user (in RAW)"""
address = await self.get_address()
pending_send, pending_receive = await self.get_pending()
actual = await RPCClient.instance().account_balance(address, True)
actual = await RPCClient.instance().account_balance(address, False)
return int(actual['balance']) - pending_send

async def get_available_balance_dec(self) -> float:
Expand Down

0 comments on commit 9d4b7dd

Please sign in to comment.