From c16dd1bba39864074396a0728e46385879986cc9 Mon Sep 17 00:00:00 2001 From: bacoinin Date: Tue, 26 Nov 2024 12:43:07 +0000 Subject: [PATCH] Re-enabled the getSpendableBalance for the PART_BLIND interface --- basicswap/interface/part.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basicswap/interface/part.py b/basicswap/interface/part.py index 9e572c1..5768d32 100644 --- a/basicswap/interface/part.py +++ b/basicswap/interface/part.py @@ -974,7 +974,7 @@ class PARTInterfaceBlind(PARTInterface): return bytes.fromhex(lock_refund_swipe_tx_hex) def getSpendableBalance(self) -> int: - raise ValueError("getUnspentsByAddr is used to get the Blind balances") + return self.make_int(self.rpc_wallet("getbalances")["mine"]["blind_trusted"]) def publishBLockTx( self,