tfollow-up prev commit - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit 764c18b3c84a38c91fd236d830c08a494d52fdb0
DIR parent 5067166e1ea3affdc7cf49e65915d54d265d3b5b
HTML Author: ThomasV <thomasv@electrum.org>
Date: Thu, 2 Apr 2020 17:36:18 +0200
follow-up prev commit
Diffstat:
M electrum/lnworker.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/electrum/lnworker.py b/electrum/lnworker.py
t@@ -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