Skip to content

Commit

Permalink
consensus: remove privValidator from log call (#6128)
Browse files Browse the repository at this point in the history
  • Loading branch information
tessr committed Feb 18, 2021
1 parent bedb00d commit 53d40e1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions consensus/state.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)
}
}
Expand Down
2 changes: 0 additions & 2 deletions test/maverick/consensus/misbehavior.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)
}
}
Expand Down

0 comments on commit 53d40e1

Please sign in to comment.