Skip to content

Commit afb9469

Browse files
committed
flush pending
1 parent 8e61f29 commit afb9469

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

block/internal/syncing/syncer.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -440,6 +440,9 @@ func (s *Syncer) waitForNewP2PHeights() {
440440
if s.dataStore.Store().Height() < syncHeadData.Height() {
441441
s.p2pHandler.ProcessDataRange(s.ctx, s.dataStore.Store().Height()+1, syncHeadData.Height(), s.heightInCh)
442442
}
443+
444+
// and flush all pending
445+
s.processPendingEvents()
443446
}
444447
}
445448

0 commit comments

Comments
 (0)