From 3832f5d7640950509023c3d39e28dfb8ca3ea8b2 Mon Sep 17 00:00:00 2001 From: Edgar Aroutiounian Date: Fri, 3 Apr 2020 17:03:20 -0700 Subject: [PATCH] [validator] Hide one field from JSON --- staking/types/validator.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/staking/types/validator.go b/staking/types/validator.go index 6746f78b69..ddb9964d4a 100644 --- a/staking/types/validator.go +++ b/staking/types/validator.go @@ -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 {