electrum

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

commit 764c18b3c84a38c91fd236d830c08a494d52fdb0
parent 5067166e1ea3affdc7cf49e65915d54d265d3b5b
Author: ThomasV <thomasv@electrum.org>
Date:   Thu,  2 Apr 2020 17:36:18 +0200

follow-up prev commit

Diffstat:
Melectrum/lnworker.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/electrum/lnworker.py b/electrum/lnworker.py @@ -725,7 +725,7 @@ class LNWallet(LNWorker): async def update_open_channel(self, chan, funding_txid, funding_height): - if chan.get_state() == channel_states.OPEN and chan.should_be_closed_due_to_expiring_htlcs(network.get_local_height()): + if chan.get_state() == channel_states.OPEN and chan.should_be_closed_due_to_expiring_htlcs(self.network.get_local_height()): self.logger.info(f"force-closing due to expiring htlcs") await self.try_force_closing(chan.channel_id) return