loop: add resume manager

This commit is contained in:
Andras Banki-Horvath 2025-10-30 17:55:09 +01:00 committed by sputn1ck
parent ded8ab5975
commit 460fc116d8
No known key found for this signature in database
GPG key ID: 671103D881A5F0E4
5 changed files with 620 additions and 249 deletions

View file

@ -993,6 +993,10 @@ func (d *Daemon) initialize(withMacaroonService bool) error {
}
}
loop.Resume(
d.mainCtx, notificationManager, swapClient.Store, d.impl.Conn, d.lnd,
)
// Last, start our internal error handler. This will return exactly one
// error or nil on the main error channel to inform the caller that
// something went wrong or that shutdown is complete. We don't add to