We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 37fb517 commit f66ab2aCopy full SHA for f66ab2a
1 file changed
block/internal/syncing/syncer.go
@@ -458,7 +458,7 @@ func (s *Syncer) trySyncNextBlock(event *common.DAHeightEvent) error {
458
}
459
460
// Mark as DA included (only if set, p2p sync does not set it)
461
- if event.HeaderDaIncludedHeight > 0 {
+ if event.HeaderDaIncludedHeight != 0 || event.DaHeight != 0 {
462
headerHash := header.Hash().String()
463
s.cache.SetHeaderDAIncluded(headerHash, event.HeaderDaIncludedHeight)
464
0 commit comments