Skip to content

Commit a23adcf

Browse files
committed
remove not needed clones
1 parent 1e89aa9 commit a23adcf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

core/src/client/node.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ impl<N: NetworkSpec, C: Consensus<N::BlockResponse>> Node<N, C> {
3535

3636
let state = State::new(block_recv, finalized_block_recv, 256, execution_rpc);
3737
let execution = Arc::new(
38-
ExecutionClient::new(execution_rpc, state, fork_schedule.clone())
38+
ExecutionClient::new(execution_rpc, state, fork_schedule)
3939
.map_err(ClientError::InternalError)?,
4040
);
4141

@@ -57,7 +57,7 @@ impl<N: NetworkSpec, C: Consensus<N::BlockResponse>> Node<N, C> {
5757
let mut evm = Evm::new(
5858
self.execution.clone(),
5959
self.chain_id(),
60-
self.fork_schedule.clone(),
60+
self.fork_schedule,
6161
block,
6262
);
6363
evm.call(tx).await.map_err(ClientError::EvmError)
@@ -69,7 +69,7 @@ impl<N: NetworkSpec, C: Consensus<N::BlockResponse>> Node<N, C> {
6969
let mut evm = Evm::new(
7070
self.execution.clone(),
7171
self.chain_id(),
72-
self.fork_schedule.clone(),
72+
self.fork_schedule,
7373
BlockTag::Latest,
7474
);
7575

0 commit comments

Comments
 (0)