aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cmd/geth/main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/geth/main.go b/cmd/geth/main.go
index e9deec61f..817337e20 100644
--- a/cmd/geth/main.go
+++ b/cmd/geth/main.go
@@ -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 {