WIP: Feature/6/jeffreypicard/dockerize for deployment #7
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
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue