File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
stackslib/src/net/stackerdb Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -387,7 +387,8 @@ impl<NC: NeighborComms> StackerDBSync<NC> {
387
387
self . downloaded_chunks . insert ( naddr. clone ( ) , vec ! [ data] ) ;
388
388
}
389
389
390
- self . chunk_fetch_priorities . retain ( |( chunk, ..) | chunk. slot_id != slot_id) ;
390
+ self . chunk_fetch_priorities
391
+ . retain ( |( chunk, ..) | chunk. slot_id != slot_id) ;
391
392
392
393
if self . chunk_fetch_priorities . len ( ) > 0 {
393
394
let next_chunk_fetch_priority =
@@ -408,7 +409,8 @@ impl<NC: NeighborComms> StackerDBSync<NC> {
408
409
) {
409
410
self . chunk_invs . insert ( naddr. clone ( ) , new_inv) ;
410
411
411
- self . chunk_push_priorities . retain ( |( chunk, ..) | chunk. chunk_data . slot_id != slot_id) ;
412
+ self . chunk_push_priorities
413
+ . retain ( |( chunk, ..) | chunk. chunk_data . slot_id != slot_id) ;
412
414
413
415
if self . chunk_push_priorities . len ( ) > 0 {
414
416
let next_chunk_push_priority =
You can’t perform that action at this time.
0 commit comments