From 9b4f14e7792517ff7425971713f26222c4c52e04 Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Tue, 10 Oct 2023 23:04:58 -0700 Subject: [PATCH] try turning off streaming again --- web3_proxy/src/jsonrpc.rs | 3 +++ 1 file changed, 3 insertions(+) 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 {