[rpc] Hide confusing num-beacon-blocks-until-next-epoch (#2836)

pull/2828/head
Edgar Aroutiounian 5 years ago committed by GitHub
parent e28c942aa0
commit a52599f7f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      staking/types/validator.go

@ -96,7 +96,7 @@ type ValidatorWrapper struct {
type Computed struct {
Signed *big.Int `json:"current-epoch-signed"`
ToSign *big.Int `json:"current-epoch-to-sign"`
BlocksLeftInEpoch uint64 `json:"num-beacon-blocks-until-next-epoch"`
BlocksLeftInEpoch uint64 `json:"-"`
Percentage numeric.Dec `json:"current-epoch-signing-percentage"`
IsBelowThreshold bool `json:"-"`
}

Loading…
Cancel
Save