|
|
@ -118,8 +118,6 @@ func makeJSONRPCHandler(funcMap map[string]*RPCFunc, logger log.Logger) http.Han |
|
|
|
// The Server MUST NOT reply to a Notification, including those that are within a batch request.
|
|
|
|
if request.ID == "" { |
|
|
|
logger.Debug("HTTPJSONRPC received a notification, skipping... (please send a non-empty ID if you want to call a method)") |
|
|
|
// Not sending back a response here because according the JSONRPC
|
|
|
|
// specification Section 4.1, we SHOULD NOT one back when "id" == "".
|
|
|
|
return |
|
|
|
} |
|
|
|
if len(r.URL.Path) > 1 { |
|
|
|