diff --git a/registry/rest-registry.go b/registry/rest-registry.go index fba1a18..763bb40 100644 --- a/registry/rest-registry.go +++ b/registry/rest-registry.go @@ -116,7 +116,7 @@ func (rr *restRegistry) InvokeWithBytes(method string, params [][]byte, leadingP } for indexC := 0; indexC < len(params); indexC++ { - if pValues[indexC+lParamLen].Type().Kind() != reflect.String { + if pValues[indexC+lParamLen].Elem().Type().Kind() != reflect.String { _params = append(_params, string(params[indexC])) continue }