mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-26 07:38:59 -05:00
chore: remove unessarcy clone (#12463)
This commit is contained in:
@@ -269,7 +269,7 @@ impl CanonicalInMemoryState {
|
||||
// insert the new blocks
|
||||
for block in new_blocks {
|
||||
let parent = blocks.get(&block.block().parent_hash).cloned();
|
||||
let block_state = BlockState::with_parent(block.clone(), parent);
|
||||
let block_state = BlockState::with_parent(block, parent);
|
||||
let hash = block_state.hash();
|
||||
let number = block_state.number();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user