mirror of
https://github.com/basicswap/basicswap.git
synced 2025-11-06 02:38:11 +01:00
Fix LTC getUnspentsByAddr() returning MWEB UTXOs.
This commit is contained in:
@@ -1376,7 +1376,9 @@ class BTCInterface(CoinInterface):
|
||||
unspent_addr = dict()
|
||||
unspent = self.rpc_wallet('listunspent')
|
||||
for u in unspent:
|
||||
if u['spendable'] is not True:
|
||||
if u.get('spendable', False) is False:
|
||||
continue
|
||||
if u.get('solveable', False) is False:
|
||||
continue
|
||||
if 'address' not in u:
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user