From b075117d83bcc93bc07c31baf61fddd0eb2c2800 Mon Sep 17 00:00:00 2001 From: William Banfield Date: Wed, 11 May 2022 22:17:52 -0400 Subject: [PATCH] don't validate when constructing extendedcommitsig --- types/vote.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/types/vote.go b/types/vote.go index 023bf52f7..4983cb3f8 100644 --- a/types/vote.go +++ b/types/vote.go @@ -121,10 +121,6 @@ func (vote *Vote) ExtendedCommitSig() ExtendedCommitSig { } cs := vote.CommitSig() - if vote.BlockID.IsComplete() && len(vote.ExtensionSignature) == 0 { - panic(fmt.Sprintf("Invalid vote %v - BlockID is complete but missing vote extension signature", vote)) - } - return ExtendedCommitSig{ CommitSig: cs, Extension: vote.Extension,