Commit a8bb35fe authored by Adrian Sutton's avatar Adrian Sutton

chore(op-node): Fix two typos

parent 6c6d142d
...@@ -20,7 +20,7 @@ import ( ...@@ -20,7 +20,7 @@ import (
// It also buffers batches that have been output because multiple batches can // It also buffers batches that have been output because multiple batches can
// be created at once. // be created at once.
// //
// This stage can be reset by clearing it's batch buffer. // This stage can be reset by clearing its batch buffer.
// This stage does not need to retain any references to L1 blocks. // This stage does not need to retain any references to L1 blocks.
type AttributesBuilder interface { type AttributesBuilder interface {
......
...@@ -517,7 +517,7 @@ func (eq *EngineQueue) ConfirmPayload(ctx context.Context) (out *eth.ExecutionPa ...@@ -517,7 +517,7 @@ func (eq *EngineQueue) ConfirmPayload(ctx context.Context) (out *eth.ExecutionPa
return nil, BlockInsertPrestateErr, fmt.Errorf("cannot complete payload building: not currently building a payload") return nil, BlockInsertPrestateErr, fmt.Errorf("cannot complete payload building: not currently building a payload")
} }
if eq.buildingOnto.Hash != eq.unsafeHead.Hash { // E.g. when safe-attributes consolidation fails, it will drop the existing work. if eq.buildingOnto.Hash != eq.unsafeHead.Hash { // E.g. when safe-attributes consolidation fails, it will drop the existing work.
eq.log.Warn("engine is building block that reorgs previous usafe head", "onto", eq.buildingOnto, "unsafe", eq.unsafeHead) eq.log.Warn("engine is building block that reorgs previous unsafe head", "onto", eq.buildingOnto, "unsafe", eq.unsafeHead)
} }
fc := eth.ForkchoiceState{ fc := eth.ForkchoiceState{
HeadBlockHash: common.Hash{}, // gets overridden HeadBlockHash: common.Hash{}, // gets overridden
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment