Skip to content

Commit

Permalink
chore: fix expectations
Browse files Browse the repository at this point in the history
  • Loading branch information
Ludo Galabru committed Jan 4, 2024
1 parent 41ecf76 commit 9e4ba72
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,7 @@ pub fn parallelize_inscription_data_computations(
false,
&moved_ctx,
);
moved_traversal_tx
.send((traversal, prioritary, thread_index))
.expect("unable to transmit traversal");
let _ = moved_traversal_tx.send((traversal, prioritary, thread_index));
}
})
.expect("unable to spawn thread");
Expand All @@ -141,9 +139,7 @@ pub fn parallelize_inscription_data_computations(
let mut thread_index = 0;
for key in l1_cache_hits.iter() {
if let Some(entry) = cache_l1.get(key) {
traversal_tx
.send((Ok((entry.clone(), vec![])), true, thread_index))
.expect("unable to transmit traversal");
let _ = traversal_tx.send((Ok((entry.clone(), vec![])), true, thread_index));
thread_index = (thread_index + 1) % thread_max;
}
}
Expand Down

0 comments on commit 9e4ba72

Please sign in to comment.