Browse Source

inspect_tx_candidate: tx output must be of address type

patch-4
ThomasV 4 years ago
parent
commit
cd025c5553
  1. 2
      electrum/lnwatcher.py

2
electrum/lnwatcher.py

@ -234,6 +234,8 @@ class LNWatcher(AddressSynchronizer):
self.channel_status[outpoint] = 'closed (deep)'
tx = self.db.get_transaction(txid)
for i, o in enumerate(tx.outputs()):
if o.address is None:
continue
if not self.is_mine(o.address):
self.add_address(o.address)
elif n < 2:

Loading…
Cancel
Save