review comments:

- remove superfluous vars
This commit is contained in:
Ismail Khoffi
2018-12-17 12:28:01 +01:00
parent 8a993c6486
commit 0c8111869f
4 changed files with 7 additions and 16 deletions
+1 -2
View File
@@ -19,7 +19,6 @@ func showValidator(cmd *cobra.Command, args []string) {
// TODO(ismail): add a flag and check if we actually want to see the pub key
// of the remote signer instead of the FilePV
privValidator := privval.LoadOrGenFilePV(config.PrivValidatorFile())
key := privValidator.GetPubKey()
pubKeyJSONBytes, _ := cdc.MarshalJSON(key)
pubKeyJSONBytes, _ := cdc.MarshalJSON(privValidator.GetPubKey())
fmt.Println(string(pubKeyJSONBytes))
}