fix tmcmd.ResetAll

This commit is contained in:
Ethan Buchman 2018-06-25 16:45:27 -04:00
parent 7487f67346
commit 300a360714
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ func UnsafeResetAllCmd(ctx *Context) *cobra.Command {
Short: "Reset blockchain database, priv_validator.json file, and the logger",
RunE: func(cmd *cobra.Command, args []string) error {
cfg := ctx.Config
tcmd.ResetAll(cfg.DBDir(), cfg.PrivValidatorFile(), ctx.Logger)
tcmd.ResetAll(cfg.DBDir(), cfg.PrivValidatorFile(), cfg.P2P.AddrBookFile(), ctx.Logger)
return nil
},
}