We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 044903f commit 2c9a212Copy full SHA for 2c9a212
1 file changed
block/internal/syncing/syncer.go
@@ -449,8 +449,8 @@ func (s *Syncer) processHeightEvent(event *common.DAHeightEvent) {
449
}
450
default:
451
// check both
452
- if _, exists := s.cache.GetDataDAIncluded(event.Data.Hash().String()); !exists {
453
- daHeightHints = []uint64{event.DaHeightHints[1]}
+ if _, exists := s.cache.GetHeaderDAIncluded(event.Header.Hash().String()); !exists {
+ daHeightHints = []uint64{event.DaHeightHints[0]}
454
455
if _, exists := s.cache.GetDataDAIncluded(event.Data.Hash().String()); !exists {
456
daHeightHints = append(daHeightHints, event.DaHeightHints[1])
0 commit comments