cleanup/small fixes

This commit is contained in:
rigel rozanski 2017-04-21 16:50:12 -04:00
parent 42d4087332
commit 3c2a6c5d8c
1 changed files with 1 additions and 5 deletions

View File

@ -1,8 +1,6 @@
package commands
import (
"path"
"github.com/spf13/cobra"
tmcmd "github.com/tendermint/tendermint/cmd/tendermint/commands"
@ -17,9 +15,7 @@ var UnsafeResetAllCmd = &cobra.Command{
func unsafeResetAllCmd(cmd *cobra.Command, args []string) error {
basecoinDir := BasecoinRoot("")
tmDir := path.Join(basecoinDir)
tmConfig := tmcfg.GetConfig(tmDir)
tmConfig := tmcfg.GetConfig(basecoinDir)
tmcmd.ResetAll(tmConfig, log)
return nil
}