Update privval/file.go

Co-authored-by: M. J. Fromberger <fromberger@interchain.io>
This commit is contained in:
Thane Thomson
2022-03-21 08:26:58 -04:00
committed by GitHub
parent 65f1902c4c
commit 4b626169f9

View File

@@ -405,6 +405,7 @@ func (pv *FilePV) signVote(chainID string, vote *tmproto.Vote) error {
// Sign the vote extension, if any
if len(vote.Extension) > 0 {
var err error
vote.ExtensionSignature, err = pv.Key.PrivKey.Sign(vote.Extension)
if err != nil {
return err