Commit 9ecaebc2 authored by vicotor's avatar vicotor

add code

parent c1d91a1a
......@@ -90,7 +90,7 @@ func proxyHandler(w http.ResponseWriter, r *http.Request) {
resp := RPCResponse{
Jsonrpc: req.Jsonrpc,
Id: req.Id,
Result: "0x0",
Result: "invalid batch request",
}
xForwardedFor := r.Header.Get("X-Forwarded-For")
log.Printf("stop forward to rpc on batch request, request from X-Forwarded-For: %s, param[0]: %v", xForwardedFor, req.Params)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment