Browse Source
Update privval/file.go
Co-authored-by: M. J. Fromberger <fromberger@interchain.io>
thane/7655-vote-extensions
Thane Thomson
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
0 deletions
-
privval/file.go
|
|
@ -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 |
|
|
|