Skip to content

Commit f66ab2a

Browse files
committed
relax
1 parent 37fb517 commit f66ab2a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

block/internal/syncing/syncer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ func (s *Syncer) trySyncNextBlock(event *common.DAHeightEvent) error {
458458
}
459459

460460
// Mark as DA included (only if set, p2p sync does not set it)
461-
if event.HeaderDaIncludedHeight > 0 {
461+
if event.HeaderDaIncludedHeight != 0 || event.DaHeight != 0 {
462462
headerHash := header.Hash().String()
463463
s.cache.SetHeaderDAIncluded(headerHash, event.HeaderDaIncludedHeight)
464464

0 commit comments

Comments
 (0)