From c9e39d3a794b69b4666452a599915cb1a7d35130 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Tue, 18 Feb 2020 18:04:23 +0100 Subject: [PATCH] remove channel from channel_timestamps if funding_tx has been dropped from mempool --- electrum/lnwatcher.py | 1 + 1 file changed, 1 insertion(+) diff --git a/electrum/lnwatcher.py b/electrum/lnwatcher.py index 43f927f42..aa4cb1ee6 100644 --- a/electrum/lnwatcher.py +++ b/electrum/lnwatcher.py @@ -336,6 +336,7 @@ class LNWalletWatcher(LNWatcher): if not chan: return if funding_height.height == TX_HEIGHT_LOCAL: + self.lnworker.channel_timestamps.pop(bh2u(chan.channel_id)) return elif closing_height.height == TX_HEIGHT_LOCAL: await self.lnworker.update_open_channel(chan, funding_txid, funding_height)