[lbry]: btcd: cleanup claim databases for regression test
This commit is contained in:
parent
bf86d03f84
commit
7154e57d49
1 changed files with 7 additions and 0 deletions
7
btcd.go
7
btcd.go
|
@ -208,6 +208,13 @@ func removeRegressionDB(dbPath string) error {
|
|||
}
|
||||
}
|
||||
|
||||
dbPath = filepath.Join(cfg.DataDir, activeNetParams.Name, "claim_dbs")
|
||||
btcdLog.Infof("Removing regression test claim databases from '%s'", dbPath)
|
||||
err = os.RemoveAll(dbPath)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue