fixed duplicate pub_key in stake.Validator

This commit is contained in:
Bill Ip 2018-05-24 15:27:30 +08:00
parent 2cafe7d302
commit ac659288bd
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ import (
type Validator struct { type Validator struct {
Owner sdk.Address `json:"owner"` // sender of BondTx - UnbondTx returns here Owner sdk.Address `json:"owner"` // sender of BondTx - UnbondTx returns here
PubKey crypto.PubKey `json:"pub_key"` // pubkey of validator 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 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 DelegatorShares sdk.Rat `json:"delegator_shares"` // total shares issued to a validator's delegators