From c7f6d80148aea11bf259c6a1d41763b67383bb42 Mon Sep 17 00:00:00 2001 From: William Banfield Date: Thu, 20 Jan 2022 15:56:11 -0500 Subject: [PATCH] update propose step log --- internal/consensus/state.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/consensus/state.go b/internal/consensus/state.go index e62a0cf39..b6bfc2619 100644 --- a/internal/consensus/state.go +++ b/internal/consensus/state.go @@ -1200,12 +1200,12 @@ func (cs *State) enterPropose(ctx context.Context, height int64, round int32) { // if not a validator, we're done if !cs.Validators.HasAddress(addr) { - logger.Debug("node is not a validator", "addr", addr, "vals", cs.Validators) + logger.Debug("propose step; not proposing since node is not a validator", + "addr", addr, + "vals", cs.Validators) return } - logger.Debug("node is a validator") - if cs.isProposer(addr) { logger.Debug( "propose step; our turn to propose",