mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
follow-up prev commit
This commit is contained in:
parent
5067166e1e
commit
764c18b3c8
1 changed files with 1 additions and 1 deletions
|
@ -725,7 +725,7 @@ class LNWallet(LNWorker):
|
||||||
|
|
||||||
async def update_open_channel(self, chan, funding_txid, funding_height):
|
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")
|
self.logger.info(f"force-closing due to expiring htlcs")
|
||||||
await self.try_force_closing(chan.channel_id)
|
await self.try_force_closing(chan.channel_id)
|
||||||
return
|
return
|
||||||
|
|
Loading…
Add table
Reference in a new issue