Skip to content

Commit

Permalink
chore: fix a typo (#9556)
Browse files Browse the repository at this point in the history
* fix

* another

* not -> neither
  • Loading branch information
zhiqiangxu committed Feb 15, 2024
1 parent 3e44b61 commit 308ac94
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion op-node/rollup/derive/pipeline.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ func (dp *DerivationPipeline) LowestQueuedUnsafeBlock() eth.L2BlockRef {
}

// Step tries to progress the buffer.
// An EOF is returned if there pipeline is blocked by waiting for new L1 data.
// An EOF is returned if the pipeline is blocked by waiting for new L1 data.
// If ctx errors no error is returned, but the step may exit early in a state that can still be continued.
// Any other error is critical and the derivation pipeline should be reset.
// An error is expected when the underlying source closes.
Expand Down
2 changes: 1 addition & 1 deletion op-node/rollup/sync/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ func FindL2Heads(ctx context.Context, cfg *rollup.Config, l1 L1Chain, l2 L2Chain
highestL2WithCanonicalL1Origin = n
}
} else {
// L1 origin not ahead of L1 head nor canonical, discard previous candidate and keep looking.
// L1 origin neither ahead of L1 head nor canonical, discard previous candidate and keep looking.
result.Unsafe = eth.L2BlockRef{}
highestL2WithCanonicalL1Origin = eth.L2BlockRef{}
}
Expand Down
2 changes: 1 addition & 1 deletion op-program/host/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ type Config struct {
// If not set, an in-memory key-value store is used and fetching data must be enabled
DataDir string

// L1Head is the block has of the L1 chain head block
// L1Head is the block hash of the L1 chain head block
L1Head common.Hash
L1URL string
L1BeaconURL string
Expand Down

0 comments on commit 308ac94

Please sign in to comment.