mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-17 23:21:21 +00:00
Everything is an RPCResponse
This commit is contained in:
@ -572,8 +572,7 @@ func readReflectJSON(rv reflect.Value, rt reflect.Type, o interface{}, err *erro
|
||||
i, jsonName, fieldType := fieldInfo.unpack()
|
||||
value, ok := oMap[jsonName]
|
||||
if !ok {
|
||||
*err = errors.New(Fmt("Missing field: %v", jsonName))
|
||||
return
|
||||
continue // Skip missing fields.
|
||||
}
|
||||
fieldRv := rv.Field(i)
|
||||
readReflectJSON(fieldRv, fieldType, value, err)
|
||||
|
Reference in New Issue
Block a user