1
0

fix lnwatcher callback (follow-up 5610a94537)

This commit is contained in:
ThomasV
2025-06-06 16:57:43 +02:00
parent bac716c925
commit d3921ca25b

View File

@@ -587,6 +587,8 @@ class Abstract_Wallet(ABC, Logger, EventListener):
self.save_db()
# fire triggers
if status_changed or up_to_date: # suppress False->False transition, as it is spammy
if self.lnworker:
await self.lnworker.lnwatcher.trigger_callbacks()
util.trigger_callback('wallet_updated', self)
util.trigger_callback('status')
self.up_to_date_changed_event.set()