diff --git a/web3_proxy/src/jsonrpc.rs b/web3_proxy/src/jsonrpc.rs index 8207907c..55b288bb 100644 --- a/web3_proxy/src/jsonrpc.rs +++ b/web3_proxy/src/jsonrpc.rs @@ -261,6 +261,8 @@ where nbytes: u64, web3_request: Arc, ) -> Result, ProviderError> { + Ok(Self::from_bytes(response.bytes().await?)?) + /* match response.content_length() { // short Some(len) if len <= nbytes => Ok(Self::from_bytes(response.bytes().await?)?), @@ -288,6 +290,7 @@ where })) } } + */ } fn from_bytes(buf: Bytes) -> Result {