From 38396e8ed4e2b9aa88581d91511c5b4f378e5c7a Mon Sep 17 00:00:00 2001 From: Janus Date: Thu, 24 Jan 2019 17:21:19 +0100 Subject: [PATCH] lnwatcher: fix incorrect tuple unpacking in do_breach_remedy --- electrum/lnwatcher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electrum/lnwatcher.py b/electrum/lnwatcher.py index f31f68f66..66fcb4171 100644 --- a/electrum/lnwatcher.py +++ b/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}')