Skip to content

Commit

Permalink
Update op-node/rollup/derive/engine_controller.go
Browse files Browse the repository at this point in the history
  • Loading branch information
owen-reorg authored Jul 10, 2024
1 parent 6ee71ec commit b05eaa3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions op-node/rollup/derive/engine_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -552,6 +552,7 @@ func (e *EngineController) GetCurrentUnsafeHead(ctx context.Context) eth.L2Block
}
return currentL2UnsafeHead
}

// getCurrentL2Info returns the current finalized, safe and unsafe heads of the execution engine.
func (e *EngineController) getCurrentL2Info(ctx context.Context) (*sync.FindHeadsResult, error) {
finalized, err := e.engine.L2BlockRefByLabel(ctx, eth.Finalized)
Expand Down

0 comments on commit b05eaa3

Please sign in to comment.