From 4b626169f9ffcf8c9e24432148b3cfeecd8e2bb1 Mon Sep 17 00:00:00 2001 From: Thane Thomson Date: Mon, 21 Mar 2022 08:26:58 -0400 Subject: [PATCH] Update privval/file.go Co-authored-by: M. J. Fromberger --- privval/file.go | 1 + 1 file changed, 1 insertion(+) diff --git a/privval/file.go b/privval/file.go index 28a79f587..213e1760e 100644 --- a/privval/file.go +++ b/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