This commit is contained in:
crusader 2017-11-23 18:08:50 +09:00
parent f8066ca9e4
commit 9057f35053

View File

@ -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.