From 74ba963ea9c60b4680f8adaf447f62cd53fa9433 Mon Sep 17 00:00:00 2001 From: crusader Date: Wed, 1 Nov 2017 17:03:17 +0900 Subject: [PATCH] ing --- protocol/json/client.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/protocol/json/client.go b/protocol/json/client.go index bf52930..4330e01 100644 --- a/protocol/json/client.go +++ b/protocol/json/client.go @@ -166,6 +166,7 @@ func retainClientRequest(method string, params interface{}, id interface{}) *cli cr = v.(*clientRequest) } + cr.Version = Version cr.Method = method cr.Params = params cr.ID = id @@ -174,6 +175,7 @@ func retainClientRequest(method string, params interface{}, id interface{}) *cli } func releaseClientRequest(cr *clientRequest) { + cr.Version = "" cr.Method = "" cr.Params = nil cr.ID = nil