Merge pull request #1029 from bhandras/resume-stuck-swaps

loop: add resume manager
This commit is contained in:
András Bánki-Horváth 2025-10-31 15:01:28 +01:00 committed by GitHub
commit 0a182ee308
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 738 additions and 291 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