diff --git a/web3_proxy/src/jsonrpc/response.rs b/web3_proxy/src/jsonrpc/response.rs index db84b815..c5c10024 100644 --- a/web3_proxy/src/jsonrpc/response.rs +++ b/web3_proxy/src/jsonrpc/response.rs @@ -257,8 +257,6 @@ where nbytes: u64, web3_request: &Arc, ) -> Web3ProxyResult> { - Ok(Self::from_bytes(response.bytes().await?)?) - /* match response.content_length() { // short Some(len) if len <= nbytes => Ok(Self::from_bytes(response.bytes().await?)?), @@ -292,7 +290,6 @@ where })) } } - */ } fn from_bytes(buf: Bytes) -> Result {