mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore!:unify trait fn naming for recovery (#13981)
This commit is contained in:
@ -789,10 +789,9 @@ 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_ecrecovered().map_err(|_| {
|
||||
PayloadBuilderError::other(OpPayloadBuilderError::TransactionEcRecoverFailed)
|
||||
})?;
|
||||
let sequencer_tx = sequencer_tx.value().try_clone_into_recovered().map_err(|_| {
|
||||
PayloadBuilderError::other(OpPayloadBuilderError::TransactionEcRecoverFailed)
|
||||
})?;
|
||||
|
||||
// Cache the depositor account prior to the state transition for the deposit nonce.
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user