diff --git a/CHANGELOG.md b/CHANGELOG.md index 8d172241..28269e41 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -55,6 +55,7 @@ Ref: https://keepachangelog.com/en/1.0.0/ * (encoding) [tharsis#478](https://github.com/tharsis/ethermint/pull/478) Register `Evidence` to amino codec. * (rpc) [tharsis#478](https://github.com/tharsis/ethermint/pull/481) Getting the node configuration when calling the `miner` rpc methods. +* (cli) [tharsis#561](https://github.com/tharsis/ethermint/pull/561) `Export` and `Start` commands now use the same home directory. ### Improvements diff --git a/server/util.go b/server/util.go index b45456c9..20010f33 100644 --- a/server/util.go +++ b/server/util.go @@ -14,8 +14,6 @@ import ( tmlog "github.com/tendermint/tendermint/libs/log" rpcclient "github.com/tendermint/tendermint/rpc/jsonrpc/client" - - "github.com/tharsis/ethermint/app" ) // add server commands @@ -39,7 +37,7 @@ func AddCommands(rootCmd *cobra.Command, defaultNodeHome string, appCreator type startCmd, sdkserver.UnsafeResetAllCmd(), tendermintCmd, - sdkserver.ExportCmd(appExport, app.DefaultNodeHome), + sdkserver.ExportCmd(appExport, defaultNodeHome), version.NewVersionCommand(), ) }