Update types/block.go

Co-authored-by: M. J. Fromberger <fromberger@interchain.io>
This commit is contained in:
William Banfield
2022-05-16 12:13:57 -04:00
committed by GitHub
co-authored by M. J. Fromberger
parent 62ecdf5b60
commit ed9df4d1f1
+1 -1
View File
@@ -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
}