Browse Source

privval: avoid re-signing vote when RHS and signbytes are equal (#7592)

* avoid re-signing vote when RHS and signbytes are equal

* avoid re-signing proposal when RHS and signbytes are equal

Co-authored-by: Callum Waters <cmwaters19@gmail.com>
Co-authored-by: William Banfield <4561443+williambanfield@users.noreply.github.com>
pull/7650/head
kmax.eth 2 years ago
committed by GitHub
parent
commit
449e127e6c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      privval/file.go

+ 1
- 1
privval/file.go View File

@ -371,8 +371,8 @@ func (pv *FilePV) signVote(chainID string, vote *tmproto.Vote) error {
vote.Timestamp = timestamp
vote.Signature = lss.Signature
return nil
}
return nil
}
// It passed the checks. Sign the vote


Loading…
Cancel
Save