good morning!!!!

Skip to content
Snippets Groups Projects
Commit 426c70ac authored by Jeffrey Wilcke's avatar Jeffrey Wilcke
Browse files

Merge pull request #1011 from obscuren/upgradedb_fix

cmd/geth: delete state db on upgradedb command
parents ad990895 28ba374f
No related branches found
No related tags found
No related merge requests found
......@@ -574,6 +574,7 @@ func upgradeDb(ctx *cli.Context) {
ethereum.ExtraDb().Close()
os.RemoveAll(filepath.Join(ctx.GlobalString(utils.DataDirFlag.Name), "blockchain"))
os.RemoveAll(filepath.Join(ctx.GlobalString(utils.DataDirFlag.Name), "state"))
ethereum, err = eth.New(cfg)
if err != nil {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment