From b9519391c288757a612e3179c867f1db09722b6b Mon Sep 17 00:00:00 2001 From: Jae Kwon Date: Mon, 21 Dec 2015 15:02:37 -0800 Subject: [PATCH] Conform to go-wire new TypeByte behavior for PrivValidator as well --- types/priv_validator.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/types/priv_validator.go b/types/priv_validator.go index e2536e47d..3551082c8 100644 --- a/types/priv_validator.go +++ b/types/priv_validator.go @@ -35,12 +35,12 @@ func voteToStep(vote *Vote) int8 { } type PrivValidator struct { - Address []byte `json:"address"` - PubKey crypto.PubKeyEd25519 `json:"pub_key"` - PrivKey crypto.PrivKeyEd25519 `json:"priv_key"` - LastHeight int `json:"last_height"` - LastRound int `json:"last_round"` - LastStep int8 `json:"last_step"` + Address []byte `json:"address"` + PubKey crypto.PubKey `json:"pub_key"` + PrivKey crypto.PrivKey `json:"priv_key"` + LastHeight int `json:"last_height"` + LastRound int `json:"last_round"` + LastStep int8 `json:"last_step"` // For persistence. // Overloaded for testing.