commit fe4ca4c466e69e7f81d2c56405f3754c3e26077f
parent c9e39d3a794b69b4666452a599915cb1a7d35130
Author: ThomasV <thomasv@electrum.org>
Date: Tue, 18 Feb 2020 20:06:35 +0100
follow-up previous commit
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/electrum/lnwatcher.py b/electrum/lnwatcher.py
@@ -336,7 +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))
+ self.lnworker.channel_timestamps.pop(bh2u(chan.channel_id), None)
return
elif closing_height.height == TX_HEIGHT_LOCAL:
await self.lnworker.update_open_channel(chan, funding_txid, funding_height)