We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 104c01f commit 0b142b3Copy full SHA for 0b142b3
1 file changed
block/internal/syncing/syncer.go
@@ -382,7 +382,7 @@ func (s *Syncer) processHeightEvent(event *common.DAHeightEvent) {
382
return
383
}
384
385
- // Last data must be got from store if the event comes from DA.
+ // Last data must be got from store if the event comes from DA and the data hash is empty.
386
// When if the event comes from P2P, the sequencer and then all the full nodes contains the data.
387
if event.Source == common.SourceDA && bytes.Equal(event.Header.DataHash, common.DataHashForEmptyTxs) {
388
_, lastData, err := s.store.GetBlockData(s.ctx, currentHeight)
0 commit comments