From fa8eb7753dc5396144dd4166123234af3a3a4da1 Mon Sep 17 00:00:00 2001 From: Albert Le Batteux Date: Fri, 6 Oct 2023 17:24:10 +0100 Subject: [PATCH] chore(amino): improve error readability (#1179) --- tm2/pkg/amino/codec.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tm2/pkg/amino/codec.go b/tm2/pkg/amino/codec.go index 6300ae04673..602c7090d91 100644 --- a/tm2/pkg/amino/codec.go +++ b/tm2/pkg/amino/codec.go @@ -532,7 +532,7 @@ func (cdc *Codec) getTypeInfoFromFullnameRLock(fullname string, fopts FieldOptio info, ok := cdc.fullnameToTypeInfo[fullname] if !ok { - err = fmt.Errorf("unrecognized concrete type full name %s of %v", fullname, cdc.fullnameToTypeInfo) + err = fmt.Errorf("amino: unrecognized concrete type full name %s", fullname) cdc.mtx.RUnlock() return }