Skip to content

Commit 0b142b3

Browse files
committed
comment
1 parent 104c01f commit 0b142b3

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
@@ -382,7 +382,7 @@ func (s *Syncer) processHeightEvent(event *common.DAHeightEvent) {
382382
return
383383
}
384384

385-
// Last data must be got from store if the event comes from DA.
385+
// Last data must be got from store if the event comes from DA and the data hash is empty.
386386
// When if the event comes from P2P, the sequencer and then all the full nodes contains the data.
387387
if event.Source == common.SourceDA && bytes.Equal(event.Header.DataHash, common.DataHashForEmptyTxs) {
388388
_, lastData, err := s.store.GetBlockData(s.ctx, currentHeight)

0 commit comments

Comments
 (0)