sweep: use bbolt DB directly instead of channeldb

This commit is contained in:
Oliver Gugger
2019-10-07 13:20:09 +02:00
parent 4190146066
commit b6dda143d0
3 changed files with 4 additions and 5 deletions

View File

@ -764,7 +764,7 @@ func newServer(listenAddrs []net.Addr, chanDB *channeldb.DB,
sweep.DefaultBatchWindowDuration)
sweeperStore, err := sweep.NewSweeperStore(
chanDB, activeNetParams.GenesisHash,
chanDB.DB, activeNetParams.GenesisHash,
)
if err != nil {
srvrLog.Errorf("unable to create sweeper store: %v", err)