From b5577aceaf9b0617280e8dbc73ce703452b0760b Mon Sep 17 00:00:00 2001 From: Richard Lehane Date: Sun, 1 May 2022 10:20:59 +0200 Subject: [PATCH] missing return --- types/vectorArray.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/vectorArray.go b/types/vectorArray.go index d0ca218..3205930 100644 --- a/types/vectorArray.go +++ b/types/vectorArray.go @@ -105,7 +105,7 @@ func MakeVariant(b []byte) (Type, error) { } f, ok := MakeTypes[id] if !ok { - Variant{}, ErrUnknownType + return Variant{}, ErrUnknownType } t, err := f(b[4:]) if err != nil {