Browse Source

consensus: remove privValidator from log call (#6128)

pull/6129/head
Tess Rinearson 3 years ago
committed by GitHub
parent
commit
53d40e1092
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 4 deletions
  1. +0
    -2
      consensus/state.go
  2. +0
    -2
      test/maverick/consensus/misbehavior.go

+ 0
- 2
consensus/state.go 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,
)
}
}


+ 0
- 2
test/maverick/consensus/misbehavior.go 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,
)
}
}


Loading…
Cancel
Save