1
0

auto-remove redeemed channel backups. fix indentation.

This commit is contained in:
ThomasV
2022-07-12 10:13:19 +02:00
parent 955986d024
commit 02e4569086
2 changed files with 19 additions and 12 deletions

View File

@@ -425,11 +425,12 @@ class LNWalletWatcher(LNWatcher):
chan = self.lnworker.channel_by_txo(funding_outpoint)
if not chan:
return
chan.update_onchain_state(funding_txid=funding_txid,
funding_height=funding_height,
closing_txid=closing_txid,
closing_height=closing_height,
keep_watching=keep_watching)
chan.update_onchain_state(
funding_txid=funding_txid,
funding_height=funding_height,
closing_txid=closing_txid,
closing_height=closing_height,
keep_watching=keep_watching)
await self.lnworker.on_channel_update(chan)
@log_exceptions