electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit c9e39d3a794b69b4666452a599915cb1a7d35130
parent e05cd2006a91c37b7a0bfd33b271db3106b24741
Author: ThomasV <thomasv@electrum.org>
Date:   Tue, 18 Feb 2020 18:04:23 +0100

remove channel from channel_timestamps if funding_tx has been dropped from mempool

Diffstat:
Melectrum/lnwatcher.py | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git 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)