diff --git a/web3_proxy/src/jsonrpc.rs b/web3_proxy/src/jsonrpc.rs index 4d3e1c95..faa682db 100644 --- a/web3_proxy/src/jsonrpc.rs +++ b/web3_proxy/src/jsonrpc.rs @@ -264,6 +264,8 @@ 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?)?), @@ -297,6 +299,7 @@ where })) } } + */ } fn from_bytes(buf: Bytes) -> Result {