mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-03 03:35: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) {
|
if cs.isProposer(address) {
|
||||||
logger.Debug("enterPropose: our turn to propose",
|
logger.Debug("enterPropose: our turn to propose",
|
||||||
"proposer", address,
|
"proposer", address,
|
||||||
"privValidator", cs.privValidator,
|
|
||||||
)
|
)
|
||||||
cs.decideProposal(height, round)
|
cs.decideProposal(height, round)
|
||||||
} else {
|
} else {
|
||||||
logger.Debug("enterPropose: not our turn to propose",
|
logger.Debug("enterPropose: not our turn to propose",
|
||||||
"proposer", cs.Validators.GetProposer().Address,
|
"proposer", cs.Validators.GetProposer().Address,
|
||||||
"privValidator", cs.privValidator,
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -138,13 +138,11 @@ func defaultEnterPropose(cs *State, height int64, round int32) {
|
|||||||
if cs.isProposer(address) {
|
if cs.isProposer(address) {
|
||||||
logger.Debug("enterPropose: our turn to propose",
|
logger.Debug("enterPropose: our turn to propose",
|
||||||
"proposer", address,
|
"proposer", address,
|
||||||
"privValidator", cs.privValidator,
|
|
||||||
)
|
)
|
||||||
cs.decideProposal(height, round)
|
cs.decideProposal(height, round)
|
||||||
} else {
|
} else {
|
||||||
logger.Debug("enterPropose: not our turn to propose",
|
logger.Debug("enterPropose: not our turn to propose",
|
||||||
"proposer", cs.Validators.GetProposer().Address,
|
"proposer", cs.Validators.GetProposer().Address,
|
||||||
"privValidator", cs.privValidator,
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user