Skip to content

Commit

Permalink
use new fn
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse committed Jan 24, 2025
1 parent 27848b1 commit b4a8e95
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/engine/util/src/reorg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ where
}

// Configure the environment for the block.
let tx_recovered = tx.clone().try_into_recovered().map_err(|_| {
let tx_recovered = tx.try_clone_into_recovered().map_err(|_| {
BlockExecutionError::Validation(BlockValidationError::SenderRecoveryError)
})?;
let tx_env = evm_config.tx_env(&tx_recovered, tx_recovered.signer());
Expand Down
2 changes: 1 addition & 1 deletion crates/optimism/payload/src/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -789,7 +789,7 @@ where
// purely for the purposes of utilizing the `evm_config.tx_env`` function.
// Deposit transactions do not have signatures, so if the tx is a deposit, this
// will just pull in its `from` address.
let sequencer_tx = sequencer_tx.value().clone().try_into_recovered().map_err(|_| {
let sequencer_tx = sequencer_tx.value().try_clone_into_recovered().map_err(|_| {
PayloadBuilderError::other(OpPayloadBuilderError::TransactionEcRecoverFailed)
})?;

Expand Down

0 comments on commit b4a8e95

Please sign in to comment.