chore: use slice arg for tx decoding (#13181)

This commit is contained in:
Matthias Seitz
2024-12-06 17:21:04 +01:00
committed by GitHub
parent e29b4eec48
commit 806a1b1e88
6 changed files with 13 additions and 13 deletions

View File

@ -32,7 +32,7 @@ where
///
/// Returns the hash of the transaction.
async fn send_raw_transaction(&self, tx: Bytes) -> Result<B256, Self::Error> {
let recovered = recover_raw_transaction(tx.clone())?;
let recovered = recover_raw_transaction(&tx)?;
let pool_transaction = <Self::Pool as TransactionPool>::Transaction::from_pooled(recovered);
// On optimism, transactions are forwarded directly to the sequencer to be included in