Skip to content

Commit

Permalink
break out of the for loop and stop subsequent request calls
Browse files Browse the repository at this point in the history
  • Loading branch information
byteflyfunny committed Jan 9, 2024
1 parent c0334b5 commit 6c8e920
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions l2geth/rollup/sync_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -1588,6 +1588,7 @@ func (s *SyncService) syncTransactionRange(start, end uint64, backend Backend) e
err := s.getTransactions(subStart, subEnd, start, rangeTxs, backend)
if err != nil {
log.Error("fetch transaction err", "subStart", subStart, "subEnd", subEnd, "err", err)
break
}
}

Expand Down

0 comments on commit 6c8e920

Please sign in to comment.