Skip to content

Commit 590edcf

Browse files
committed
refactor based on mammals follow up comment (part 2)
1 parent 36073d0 commit 590edcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/esplora/src/async_ext.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ where
316316
let mut update = TxUpdate::<ConfirmationBlockTime>::default();
317317
let mut last_active_index = Option::<u32>::None;
318318
let mut consecutive_unused = 0usize;
319-
let gap_limit = stop_gap.max(1);
319+
let gap_limit = stop_gap.max(parallel_requests.max(1));
320320

321321
loop {
322322
let handles = keychain_spks

0 commit comments

Comments
 (0)