From 9d4b7ddcb4bd99ce8f25c39cd49c41afc1b20cbe Mon Sep 17 00:00:00 2001 From: Brandon Berhent Date: Sun, 30 Jun 2024 20:44:47 -0400 Subject: [PATCH] Always confirmed --- db/models/user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/models/user.py b/db/models/user.py index 976c1d3..4b16876 100644 --- a/db/models/user.py +++ b/db/models/user.py @@ -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: