multi: support sync freelist option within btcwallet

This commit is contained in:
Wilmer Paulino committed 2019-10-04 12:19:40 -04:00
1 parent 6765b8668a
commit 194a9dea81
12 files changed
+49 -32

No files matched your search

+1 -1
View File
@@ -268,7 +268,7 @@ func NewNeutrinoBackend(t *testing.T, minerAddr string) (*neutrino.ChainService,
}
dbName := filepath.Join(spvDir, "neutrino.db")
spvDatabase, err := walletdb.Create("bdb", dbName)
spvDatabase, err := walletdb.Create("bdb", dbName, true)
if err != nil {
os.RemoveAll(spvDir)
t.Fatalf("unable to create walletdb: %v", err)