File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -316,7 +316,6 @@ 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 mut processed_any = false ;
320319 let gap_limit = stop_gap. max ( 1 ) ;
321320
322321 loop {
@@ -350,14 +349,10 @@ where
350349 . collect :: < FuturesOrdered < _ > > ( ) ;
351350
352351 if handles. is_empty ( ) {
353- if !processed_any {
354- return Err ( Box :: new ( esplora_client:: Error :: InvalidResponse ) ) ;
355- }
356352 break ;
357353 }
358354
359355 for ( index, txs, evicted) in handles. try_collect :: < Vec < TxsOfSpkIndex > > ( ) . await ? {
360- processed_any = true ;
361356 if txs. is_empty ( ) {
362357 consecutive_unused = consecutive_unused. saturating_add ( 1 ) ;
363358 } else {
You can’t perform that action at this time.
0 commit comments