From ac659288bd8403c7f1b16d22249f202340dc2c10 Mon Sep 17 00:00:00 2001 From: Bill Ip Date: Thu, 24 May 2018 15:27:30 +0800 Subject: [PATCH] fixed duplicate pub_key in stake.Validator --- x/stake/validator.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/stake/validator.go b/x/stake/validator.go index 9aa8d3768b..88f061f315 100644 --- a/x/stake/validator.go +++ b/x/stake/validator.go @@ -19,7 +19,7 @@ import ( type Validator struct { Owner sdk.Address `json:"owner"` // sender of BondTx - UnbondTx returns here PubKey crypto.PubKey `json:"pub_key"` // pubkey of validator - Revoked bool `json:"pub_key"` // has the validator been revoked from bonded status? + Revoked bool `json:"revoked"` // has the validator been revoked from bonded status? PoolShares PoolShares `json:"pool_shares"` // total shares for tokens held in the pool DelegatorShares sdk.Rat `json:"delegator_shares"` // total shares issued to a validator's delegators