diff --git a/protocol/json/client_response.go b/protocol/json/client_response.go index 4d4a3cd..969a120 100644 --- a/protocol/json/client_response.go +++ b/protocol/json/client_response.go @@ -49,7 +49,7 @@ func (ccr *ClientCodecResponse) ID() interface{} { func (ccr *ClientCodecResponse) Result(result interface{}) error { if ccr.err == nil && ccr.response.Result != nil { - if err := json.Unmarshal(*ccr.response.Result, result); err != nil { + if err := json.Unmarshal(*ccr.response.Result, &result); err != nil { params := [1]interface{}{result} if err = json.Unmarshal(*ccr.response.Result, ¶ms); err != nil { ccr.err = err