Merge pull request #73 from tendermint/tinycleanup

Tinycleanup
This commit is contained in:
Ethan Buchman 2017-04-26 00:02:13 -04:00 committed by GitHub
commit 42ed6011c9
2 changed files with 2 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
}

View File

@ -41,6 +41,7 @@ If you take a look at the `genesis.json` file, you will see one account listed t
This account corresponds to the private key in `key.json`.
We also included the private key for another account, in `key2.json`.
Leave basecoin running and open a new terminal window.
Let's check the balance of these two accounts:
```