Re-enabled the getSpendableBalance for the PART_BLIND interface

This commit is contained in:
bacoinin 2024-11-26 12:43:07 +00:00
parent 9386544b3d
commit c16dd1bba3

View file

@ -974,7 +974,7 @@ class PARTInterfaceBlind(PARTInterface):
return bytes.fromhex(lock_refund_swipe_tx_hex) return bytes.fromhex(lock_refund_swipe_tx_hex)
def getSpendableBalance(self) -> int: 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( def publishBLockTx(
self, self,