From 4dad743fc3a5fe28e4f9cb98597e0a741c4f205d Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Wed, 21 Jun 2023 10:01:51 -0700 Subject: [PATCH] tuple, not list --- web3_proxy/src/rpcs/many.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web3_proxy/src/rpcs/many.rs b/web3_proxy/src/rpcs/many.rs index dc876523..bf481a68 100644 --- a/web3_proxy/src/rpcs/many.rs +++ b/web3_proxy/src/rpcs/many.rs @@ -1349,11 +1349,11 @@ impl Serialize for Web3Rpcs { state.serialize_field( "caches", - &[ + &( MokaCacheSerializer(&self.blocks_by_hash), MokaCacheSerializer(&self.blocks_by_number), MokaCacheSerializer(&self.pending_transaction_cache), - ], + ), )?; state.serialize_field("block_sender_len", &self.block_sender.len())?;