Browse Source

lnwatcher: fix incorrect tuple unpacking in do_breach_remedy

dependabot/pip/contrib/deterministic-build/ecdsa-0.13.3
Janus 6 years ago
committed by ThomasV
parent
commit
38396e8ed4
  1. 2
      electrum/lnwatcher.py

2
electrum/lnwatcher.py

@ -179,7 +179,7 @@ class LNWatcher(AddressSynchronizer):
prev_txid, prev_n = prevout.split(':')
with self.lock:
sweep_txns = self.sweepstore[funding_outpoint][prev_txid]
for prev_txid, tx in sweep_txns:
for tx in sweep_txns:
if not await self.broadcast_or_log(funding_outpoint, tx):
self.print_error(tx.name, f'could not publish tx: {str(tx)}, prev_txid: {prev_txid}')

Loading…
Cancel
Save