From 2fa8733ccd0e1a6a72c11b81d7b29d0fc01f4014 Mon Sep 17 00:00:00 2001 From: steven Date: Fri, 13 Dec 2024 23:59:22 -0600 Subject: [PATCH] upd generic --- crates/optimism/node/src/txpool.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/crates/optimism/node/src/txpool.rs b/crates/optimism/node/src/txpool.rs index b7b7f781e67f..70f0fdc3cd17 100644 --- a/crates/optimism/node/src/txpool.rs +++ b/crates/optimism/node/src/txpool.rs @@ -151,9 +151,7 @@ where { let l1_block_info = self.block_info.l1_block_info.read().clone(); - let mut encoded = Vec::::with_capacity( - valid_tx.transaction().encoded_length::(), - ); + let mut encoded = Vec::::with_capacity(valid_tx.transaction().encoded_length()); let tx = valid_tx.transaction().clone_into_consensus(); tx.encode_2718(&mut encoded);