This commit is contained in:
crusader 2017-11-01 18:15:48 +09:00
parent c664a1b420
commit c03a9b4fe9

View File

@ -33,7 +33,7 @@ type clientRequest struct {
// clientResponse represents a JSON-RPC response returned to a client.
type clientResponse struct {
Version string `json:"jsonrpc"`
Result *json.RawMessage `json:"result"`
Result interface{} `json:"result"`
Error error `json:"error"`
ID interface{} `json:"id"`
}