mirror of
https://github.com/tendermint/tendermint.git
synced 2025-12-23 06:15:19 +00:00
consensus: remove privValidator from log call (#6128)
This commit is contained in:
@@ -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,
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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,
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user