From 30a19fc8993fde824bd1116505f6dab9ebca2105 Mon Sep 17 00:00:00 2001 From: Ethan Buchman Date: Thu, 18 May 2017 11:26:15 +0200 Subject: [PATCH] [consensus] Info->Debug for is a validator log msg --- consensus/state.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/consensus/state.go b/consensus/state.go index b3bbbb2c4..d4056facf 100644 --- a/consensus/state.go +++ b/consensus/state.go @@ -775,20 +775,20 @@ func (cs *ConsensusState) enterPropose(height int, round int) { // Nothing more to do if we're not a validator if cs.privValidator == nil { - cs.Logger.Info("This node is not a validator") + cs.Logger.Debug("This node is not a validator") return } if !bytes.Equal(cs.Validators.GetProposer().Address, cs.privValidator.GetAddress()) { cs.Logger.Info("enterPropose: Not our turn to propose", "proposer", cs.Validators.GetProposer().Address, "privValidator", cs.privValidator) if cs.Validators.HasAddress(cs.privValidator.GetAddress()) { - cs.Logger.Info("This node is a validator") + cs.Logger.Debug("This node is a validator") } else { - cs.Logger.Info("This node is not a validator") + cs.Logger.Debug("This node is not a validator") } } else { cs.Logger.Info("enterPropose: Our turn to propose", "proposer", cs.Validators.GetProposer().Address, "privValidator", cs.privValidator) - cs.Logger.Info("This node is a validator") + cs.Logger.Debug("This node is a validator") cs.decideProposal(height, round) } }