From 13ab659060d212323410adda9916a958a2a104f6 Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Fri, 21 Oct 2022 21:13:50 +0000 Subject: [PATCH] actually we dont need this /rpc endpoint at all --- web3_proxy/src/frontend/mod.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/web3_proxy/src/frontend/mod.rs b/web3_proxy/src/frontend/mod.rs index bdd2d87f..a68d5589 100644 --- a/web3_proxy/src/frontend/mod.rs +++ b/web3_proxy/src/frontend/mod.rs @@ -54,8 +54,6 @@ pub async fn serve(port: u16, proxy_app: Arc) -> anyhow::Result<() // routes should be ordered most to least common .route("/", post(rpc_proxy_http::proxy_web3_rpc)) .route("/", get(rpc_proxy_ws::websocket_handler)) - .route("/rpc", post(rpc_proxy_http::proxy_web3_rpc)) - .route("/rpc", get(rpc_proxy_ws::websocket_handler)) .route( "/rpc/:user_key", post(rpc_proxy_http::proxy_web3_rpc_with_key),