Skip to content

Commit

Permalink
fix: typo in the code comments (ethereum-optimism#10229)
Browse files Browse the repository at this point in the history
* fix: typo in the code comments

* fix: correct the syntax error in the code comment
threewebcode authored Apr 26, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 83611e5 commit 7e93729
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion op-node/node/api.go
Original file line number Diff line number Diff line change
@@ -75,7 +75,7 @@ func (n *adminAPI) SequencerActive(ctx context.Context) (bool, error) {
return n.dr.SequencerActive(ctx)
}

// PostUnsafePayload is a special API that allow posting an unsafe payload to the L2 derivation pipeline.
// PostUnsafePayload is a special API that allows posting an unsafe payload to the L2 derivation pipeline.
// It should only be used by op-conductor for sequencer failover scenarios.
// TODO(ethereum-optimism/optimism#9064): op-conductor Dencun changes.
func (n *adminAPI) PostUnsafePayload(ctx context.Context, envelope *eth.ExecutionPayloadEnvelope) error {
2 changes: 1 addition & 1 deletion op-node/node/node.go
Original file line number Diff line number Diff line change
@@ -56,7 +56,7 @@ type OpNode struct {
l2Source *sources.EngineClient // L2 Execution Engine RPC bindings
server *rpcServer // RPC server hosting the rollup-node API
p2pNode *p2p.NodeP2P // P2P node functionality
p2pSigner p2p.Signer // p2p gogssip application messages will be signed with this signer
p2pSigner p2p.Signer // p2p gossip application messages will be signed with this signer
tracer Tracer // tracer to get events for testing/debugging
runCfg *RuntimeConfig // runtime configurables

0 comments on commit 7e93729

Please sign in to comment.