chore: rm redundant clone (#9174)

This commit is contained in:
Matthias Seitz
2024-06-28 17:42:25 +02:00
committed by GitHub
parent 9129b97c5b
commit 5416adf97b

View File

@@ -140,7 +140,7 @@ where
let gas_price = tx
.effective_tip_per_gas(basefee)
.ok_or_else(|| RpcInvalidTransactionError::FeeCapTooLow)?;
Call::evm_config(&eth_api).fill_tx_env(evm.tx_mut(), &tx.clone(), signer);
Call::evm_config(&eth_api).fill_tx_env(evm.tx_mut(), &tx, signer);
let ResultAndState { result, state } = evm.transact()?;
let gas_used = result.gas_used();