sweep: use bbolt DB directly instead of channeldb

This commit is contained in:
Oliver Gugger committed 2019-10-14 15:32:53 +02:00
1 parent 4190146066
commit b6dda143d0
3 files changed
+4 -5

No files matched your search

+1 -1
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)