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

Commit

Permalink
fix: homedir consistency (#561)
Browse files Browse the repository at this point in the history
* fix export homedir

* Changelog updated

Co-authored-by: Hanchon <guillermo.paoletti@gmail.com>
  • Loading branch information
ramacarlucho and hanchon authored Sep 15, 2021
1 parent 644ae50 commit ec7d8a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
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

0 comments on commit ec7d8a3

Please sign in to comment.