Skip to content

Commit

Permalink
fix: initialize pending block with an empty block
Browse files Browse the repository at this point in the history
  • Loading branch information
omerfirmak committed Sep 20, 2024
1 parent c0094ee commit 4d49436
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions miner/scroll_worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,8 @@ func (w *worker) newWork(now time.Time, parentHash common.Hash, reorging bool, r
reorging: reorging,
reorgReason: reorgReason,
}

w.updateSnapshot()
return nil
}

Expand Down

0 comments on commit 4d49436

Please sign in to comment.