Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
brenzi committed Nov 5, 2024
1 parent bccd32d commit 4c549e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sidechain/consensus/aura/src/block_importer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ impl<
.header_cache
.load_for_mutation()
.map_err(|_| ConsensusError::LockPoisoning)?;
*header_lock = CachedSidechainBlockHeader(head.clone());
*header_lock = CachedSidechainBlockHeader(*head);
Ok(())
}

Expand Down

0 comments on commit 4c549e5

Please sign in to comment.