Skip to content
This repository has been archived by the owner on Apr 4, 2024. It is now read-only.

fix: homedir consistency #561

Merged
merged 2 commits into from
Sep 15, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 1 addition & 3 deletions server/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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(),
)
}
Expand Down