Commit 308ac94c authored by zhiqiangxu's avatar zhiqiangxu Committed by GitHub

chore: fix a typo (#9556)

* fix

* another

* not -> neither
parent 3e44b619
......@@ -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.
......
......@@ -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{}
}
......
......@@ -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
......
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