We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
updateSnapshot
1 parent de0385e commit a09c74eCopy full SHA for a09c74e
miner/scroll_worker.go
@@ -541,12 +541,13 @@ func (w *worker) handlePipelineResult(res *pipeline.Result) error {
541
w.currentPipeline.Release()
542
w.currentPipeline = nil
543
544
+ if res.FinalBlock != nil {
545
+ w.updateSnapshot(res.FinalBlock)
546
+ }
547
+
548
// Rows being nil without an OverflowingTx means that block didn't go thru CCC,
549
// which means that we are not the sequencer. Do not attempt to commit.
- if res.Rows == nil && res.OverflowingTx == nil {
- if res.FinalBlock != nil {
- w.updateSnapshot(res.FinalBlock)
- }
550
+ if res.Rows == nil && res.OverflowingTx == nil {x
551
return nil
552
}
553
0 commit comments