mirror of
https://github.com/fluencelabs/tendermint
synced 2025-04-25 14:52:17 +00:00
update comment [ci skip]
This commit is contained in:
parent
9c03c58de2
commit
f81025631e
@ -222,7 +222,7 @@ func (privVal *PrivValidatorFS) SignProposal(chainID string, proposal *Proposal)
|
||||
return nil
|
||||
}
|
||||
|
||||
// returns error if HRS regression. returns true if HRS is unchanged
|
||||
// returns error if HRS regression or no LastSignBytes. returns true if HRS is unchanged
|
||||
func (privVal *PrivValidatorFS) checkHRS(height int64, round int, step int8) (bool, error) {
|
||||
if privVal.LastHeight > height {
|
||||
return false, errors.New("Height regression")
|
||||
|
Loading…
x
Reference in New Issue
Block a user