Skip to content

Commit

Permalink
Set all txs found during sync to executed (ethereum#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
karlfloersch authored Nov 15, 2020
1 parent dc9c6e9 commit d114675
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions rollup/sync_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -513,6 +513,11 @@ func (s *SyncService) sequencerIngestQueue() {
// For now always disable sync service
if true {
// TODO: Remove this
// Set all txs found during sync to executed
s.txCache.Range(func(index uint64, rtx *RollupTransaction) {
rtx.executed = true
s.txCache.Store(rtx.index, rtx)
})
s.setSyncStatus(false)
continue
}
Expand Down

0 comments on commit d114675

Please sign in to comment.