state/privval: vote timestamp fix (backport #6748) (#6783)

This commit is contained in:
mergify[bot]
2021-07-30 17:48:49 +02:00
committed by GitHub
parent b69ac23fd2
commit 6fde228e9d
3 changed files with 49 additions and 1 deletions

View File

@@ -2180,6 +2180,7 @@ func (cs *State) signVote(
v := vote.ToProto()
err := cs.privValidator.SignVote(cs.state.ChainID, v)
vote.Signature = v.Signature
vote.Timestamp = v.Timestamp
return vote, err
}