Skip to content

Commit 9e36f52

Browse files
committed
fix typo
1 parent 4b50a3e commit 9e36f52

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
@@ -753,7 +753,7 @@ func (s *Syncer) TrySyncNextBlock(ctx context.Context, event *common.DAHeightEve
753753
// P2P nodes aren't actually able to verify forced inclusions txs as DA inclusion happens later (so DA hints are not available) and DA hints cannot be trusted. This is a known limitation described in the ADR.
754754
// In the future we should verify force inclusion txs completely asynchronously, while still waiting for block n-1 execution.
755755
if event.Source == common.SourceDA {
756-
if err := s.VerifyForcedInclusionTxs(ctx, event.DaHeight, data); err != nil {
756+
if err := s.VerifyForcedInclusionTxs(ctx, currentState.DAHeight, data); err != nil {
757757
s.logger.Error().Err(err).Uint64("height", nextHeight).Msg("forced inclusion verification failed")
758758
if errors.Is(err, errMaliciousProposer) {
759759
// remove header as da included from cache

0 commit comments

Comments
 (0)