mirror of
https://github.com/basicswap/basicswap.git
synced 2025-11-05 18:38:09 +01:00
Re-enabled the getSpendableBalance for the PART_BLIND interface
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user