Browse Source

update comment [ci skip]

pull/993/head
Ethan Buchman 7 years ago
parent
commit
f81025631e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      types/priv_validator.go

+ 1
- 1
types/priv_validator.go View File

@ -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…
Cancel
Save