more linting

This commit is contained in:
Ethan Buchman
2017-11-27 22:39:12 +00:00
parent 55b81cc1a1
commit 9529f12c28
13 changed files with 43 additions and 23 deletions
+4 -1
View File
@@ -19,7 +19,10 @@ var GenValidatorCmd = &cobra.Command{
func genValidator(cmd *cobra.Command, args []string) {
privValidator := types.GenPrivValidatorFS("")
privValidatorJSONBytes, _ := json.MarshalIndent(privValidator, "", "\t")
privValidatorJSONBytes, err := json.MarshalIndent(privValidator, "", "\t")
if err != nil {
panic(err)
}
fmt.Printf(`%v
`, string(privValidatorJSONBytes))
}