1
0

lnworker.handle_onchain_state early return if no network (follow-up fbebe7de1a)

This commit is contained in:
ThomasV
2025-03-20 10:00:59 +01:00
parent 4c14711dc7
commit 60338eba5d

View File

@@ -1198,6 +1198,10 @@ class LNWallet(LNWorker):
return chan
def handle_onchain_state(self, chan: Channel):
if self.network is None:
# network not started yet
return
if type(chan) is ChannelBackup:
util.trigger_callback('channel', self.wallet, chan)
return