multi: support sync freelist option within btcwallet

This commit is contained in:
Wilmer Paulino
2019-10-04 11:10:49 -04:00
parent 6765b8668a
commit 194a9dea81
12 changed files with 49 additions and 32 deletions

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)