mirror of
https://github.com/tendermint/tendermint.git
synced 2026-04-23 09:10:31 +00:00
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>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user