From 9057f35053fa55b2084209aee8a9b4aefe60866c Mon Sep 17 00:00:00 2001 From: crusader Date: Thu, 23 Nov 2017 18:08:50 +0900 Subject: [PATCH] ing --- protocol/json/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocol/json/client.go b/protocol/json/client.go index 28c3aab..955656d 100644 --- a/protocol/json/client.go +++ b/protocol/json/client.go @@ -35,7 +35,7 @@ type clientResponse struct { Version string `json:"jsonrpc"` Result *json.RawMessage `json:"result,omitempty"` Error error `json:"error,omitempty"` - ID interface{} `json:"id"` + ID interface{} `json:"id,omitempty"` } // clientRequest represents a JSON-RPC request sent by a client.