File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
src/main/scala/io/iohk/ethereum/jsonrpc/server/http Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -66,11 +66,12 @@ trait JsonRpcHttpServer extends Json4sSupport with Logger {
66
66
entity(as[JsonRpcRequest ]) {
67
67
case statusReq if statusReq.method == FaucetJsonRpcController .Status =>
68
68
handleRequest(statusReq)
69
- case jsonReq => rateLimit {
70
- handleRequest(jsonReq)
71
- }
72
- // TODO: separate paths for single and multiple requests
73
- // TODO: to prevent repeated body and json parsing
69
+ case jsonReq =>
70
+ rateLimit {
71
+ handleRequest(jsonReq)
72
+ }
73
+ // TODO: separate paths for single and multiple requests
74
+ // TODO: to prevent repeated body and json parsing
74
75
} ~ entity(as[Seq [JsonRpcRequest ]]) {
75
76
case _ if config.rateLimit.enabled =>
76
77
complete(StatusCodes .MethodNotAllowed , JsonRpcError .MethodNotFound )
You can’t perform that action at this time.
0 commit comments