diff --git a/rpc/lib/types/types.go b/rpc/lib/types/types.go index 8d71d6f2..0267c529 100644 --- a/rpc/lib/types/types.go +++ b/rpc/lib/types/types.go @@ -62,7 +62,7 @@ type RPCError struct { type RPCResponse struct { JSONRPC string `json:"jsonrpc"` - ID string `json:"id,omitempty"` + ID string `json:"id"` Result *json.RawMessage `json:"result,omitempty"` Error *RPCError `json:"error,omitempty"` }