mirror of
https://github.com/tendermint/tendermint.git
synced 2026-08-20 14:16:22 +00:00
Update types/block.go
Co-authored-by: M. J. Fromberger <fromberger@interchain.io>
This commit is contained in:
co-authored by
M. J. Fromberger
parent
62ecdf5b60
commit
ed9df4d1f1
+1
-1
@@ -764,7 +764,7 @@ func (ecs ExtendedCommitSig) ValidateBasic() error {
|
||||
}
|
||||
|
||||
if len(ecs.ExtensionSignature) == 0 && len(ecs.Extension) != 0 {
|
||||
return fmt.Errorf("vote extension signature absent on vote with extension")
|
||||
return errors.New("vote extension signature absent on vote with extension")
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user