mirror of
https://github.com/tendermint/tendermint.git
synced 2026-08-27 19:37:08 +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:
co-authored by
Callum Waters
William Banfield
parent
9f4f51318c
commit
449e127e6c
+1
-1
@@ -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