diff --git a/loopd/daemon.go b/loopd/daemon.go index c6496be3..bbc456df 100644 --- a/loopd/daemon.go +++ b/loopd/daemon.go @@ -409,6 +409,12 @@ func (d *Daemon) initialize(withMacaroonService bool) error { return err } + // Run the costs migration. + err = loop.MigrateLoopOutCosts(d.mainCtx, d.lnd.LndServices, swapDb) + if err != nil { + return err + } + sweeperDb := sweepbatcher.NewSQLStore(baseDb, chainParams) // Create an instance of the loop client library.