mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-25 02:31:46 +00:00
rpc/lib/server: update with @melekes and @ebuchman feedback
This commit is contained in:
@ -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 {
|
||||
|
Reference in New Issue
Block a user