Skip to content

Commit

Permalink
upd generic
Browse files Browse the repository at this point in the history
  • Loading branch information
stevencartavia committed Dec 14, 2024
1 parent a4be910 commit 2fa8733
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions crates/optimism/node/src/txpool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,7 @@ where
{
let l1_block_info = self.block_info.l1_block_info.read().clone();

let mut encoded = Vec::<u8>::with_capacity(
valid_tx.transaction().encoded_length::<TransactionSigned>(),
);
let mut encoded = Vec::<u8>::with_capacity(valid_tx.transaction().encoded_length());
let tx = valid_tx.transaction().clone_into_consensus();
tx.encode_2718(&mut encoded);

Expand Down

0 comments on commit 2fa8733

Please sign in to comment.