Skip to content

Commit

Permalink
[validator] Hide one field from JSON (#2705)
Browse files Browse the repository at this point in the history
  • Loading branch information
fxfactorial authored Apr 4, 2020
1 parent 56d19d2 commit 1a2c23a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion staking/types/validator.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ type ValidatorStats struct {
// MetricsPerShard ..
MetricsPerShard []VoteWithCurrentEpochEarning `json:"by-bls-key"`
// BootedStatus
BootedStatus effective.BootedStatus `json:"boot-from-committee-status"`
BootedStatus effective.BootedStatus `json:"-"`
}

func (s ValidatorStats) String() string {
Expand Down

0 comments on commit 1a2c23a

Please sign in to comment.