commit
42ed6011c9
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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:
|
||||
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue