tuple, not list
This commit is contained in:
parent
f75f3f8d2f
commit
4dad743fc3
@ -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())?;
|
||||
|
Loading…
Reference in New Issue
Block a user