Skip to content

Commit

Permalink
chore: rm redundant clone (#9174)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse authored Jun 28, 2024
1 parent 9129b97 commit 5416adf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/rpc/rpc/src/eth/bundle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 5416adf

Please sign in to comment.