diff options
author | obscuren <geffobscura@gmail.com> | 2015-05-16 23:43:19 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-05-16 23:43:19 +0800 |
commit | 28ba374f27b81ba143005e285be6f8a986134936 (patch) | |
tree | 270ba0f939c56ae82e6a98b8ef15a0341360aee1 /cmd/geth/main.go | |
parent | ad99089567757c315bc2e477c6f889b9c2c8789f (diff) | |
download | go-tangerine-28ba374f27b81ba143005e285be6f8a986134936.tar go-tangerine-28ba374f27b81ba143005e285be6f8a986134936.tar.gz go-tangerine-28ba374f27b81ba143005e285be6f8a986134936.tar.bz2 go-tangerine-28ba374f27b81ba143005e285be6f8a986134936.tar.lz go-tangerine-28ba374f27b81ba143005e285be6f8a986134936.tar.xz go-tangerine-28ba374f27b81ba143005e285be6f8a986134936.tar.zst go-tangerine-28ba374f27b81ba143005e285be6f8a986134936.zip |
cmd/geth: delete state db on upgradedb command
Diffstat (limited to 'cmd/geth/main.go')
-rw-r--r-- | cmd/geth/main.go | 1 |
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 { |