chore: clippy

This commit is contained in:
sprites0
2025-10-05 04:04:30 -04:00
parent aa73fab281
commit b55ddc54ad
3 changed files with 9 additions and 14 deletions

View File

@ -81,11 +81,10 @@ impl BlockPoller {
.await
.ok_or(eyre::eyre!("Failed to find latest block number"))?;
if let Some(debug_cutoff_height) = debug_cutoff_height {
if next_block_number > debug_cutoff_height {
if let Some(debug_cutoff_height) = debug_cutoff_height
&& next_block_number > debug_cutoff_height {
next_block_number = debug_cutoff_height;
}
}
loop {
match block_source.collect_block(next_block_number).await {