mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
loopd: run the cost migration on start
This commit is contained in:
parent
f40ef193e9
commit
c7fa1e4109
1 changed files with 6 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue