mirror of
https://github.com/tendermint/tendermint.git
synced 2026-02-08 04:50:16 +00:00
Update privval/file.go
Co-authored-by: M. J. Fromberger <fromberger@interchain.io>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user