Skip to content

Commit

Permalink
chore: make linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
Sword-Smith committed Jan 22, 2025
1 parent 5eb8d2f commit 0a083d8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/mine_loop.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1579,7 +1579,7 @@ pub(crate) mod mine_loop_tests {

guess_worker(
block,
prev_block.header().clone(),
*prev_block.header(),
worker_task_tx,
composer_utxos,
sleepy_guessing,
Expand Down Expand Up @@ -1776,7 +1776,7 @@ pub(crate) mod mine_loop_tests {
let mut rng = thread_rng();
let mut counter = 0;
let mut successor_block = Block::new(
successor_header.clone(),
successor_header,
successor_body.clone(),
appendix,
BlockProof::Invalid,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ pub(crate) mod test {
(parent_header, parent_body, parent_appendix).prop_flat_map(
move |(header, body, appendix)| {
let parent_kernel = BlockKernel {
header: header.clone(),
header,
body: body.clone(),
appendix: appendix.clone(),
};
Expand Down

0 comments on commit 0a083d8

Please sign in to comment.