diff --git a/web3_proxy/src/jsonrpc/response.rs b/web3_proxy/src/jsonrpc/response.rs index fd1ad868..75b475e5 100644 --- a/web3_proxy/src/jsonrpc/response.rs +++ b/web3_proxy/src/jsonrpc/response.rs @@ -257,6 +257,8 @@ where nbytes: u64, web3_request: &Arc, ) -> Web3ProxyResult> { + return 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,6 +294,7 @@ where })) } } + */ } fn from_bytes(buf: Bytes) -> Result {