Skip to content

Commit

Permalink
chore(amino): improve error readability (#1179)
Browse files Browse the repository at this point in the history
  • Loading branch information
albttx authored Oct 6, 2023
1 parent d865095 commit fa8eb77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tm2/pkg/amino/codec.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit fa8eb77

Please sign in to comment.