From 7e9372961918b170477d7419d4b9f93f53276f24 Mon Sep 17 00:00:00 2001 From: Afanti <127061691+threewebcode@users.noreply.github.com> Date: Sat, 27 Apr 2024 07:28:25 +0800 Subject: [PATCH] fix: typo in the code comments (#10229) * fix: typo in the code comments * fix: correct the syntax error in the code comment --- op-node/node/api.go | 2 +- op-node/node/node.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/op-node/node/api.go b/op-node/node/api.go index d6252c84540e..cb60d22d911b 100644 --- a/op-node/node/api.go +++ b/op-node/node/api.go @@ -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 { diff --git a/op-node/node/node.go b/op-node/node/node.go index 324a595f4ab2..4ee67085d95b 100644 --- a/op-node/node/node.go +++ b/op-node/node/node.go @@ -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