consensus: remove privValidator from log call (#6128)

This commit is contained in:
Tess Rinearson
2021-02-18 01:47:55 +01:00
committed by GitHub
parent bedb00d252
commit 53d40e1092
2 changed files with 0 additions and 4 deletions

View File

@@ -1042,13 +1042,11 @@ func (cs *State) enterPropose(height int64, round int32) {
if cs.isProposer(address) {
logger.Debug("enterPropose: our turn to propose",
"proposer", address,
"privValidator", cs.privValidator,
)
cs.decideProposal(height, round)
} else {
logger.Debug("enterPropose: not our turn to propose",
"proposer", cs.Validators.GetProposer().Address,
"privValidator", cs.privValidator,
)
}
}

View File

@@ -138,13 +138,11 @@ func defaultEnterPropose(cs *State, height int64, round int32) {
if cs.isProposer(address) {
logger.Debug("enterPropose: our turn to propose",
"proposer", address,
"privValidator", cs.privValidator,
)
cs.decideProposal(height, round)
} else {
logger.Debug("enterPropose: not our turn to propose",
"proposer", cs.Validators.GetProposer().Address,
"privValidator", cs.privValidator,
)
}
}