Skip to content

docs: correct copy-pasted comments in client managers - #1294

Merged
0xfornax merged 1 commit into
rocket-pool:masterfrom
kleonyuan:master
Oct 18, 2026
Merged

0xfornax merged 1 commit into
rocket-pool:masterfrom
kleonyuan:master

Conversation

@kleonyuan

Copy link
Copy Markdown
Contributor

Two doc comments are left over from the function above them and describe
the wrong thing.

  • shared/services/ec-manager.go:445 — ExecutionClientManager.ChainID was
    documented as "BlockNumber returns the most recent block number", a
    verbatim copy of the comment on BlockNumber at line 352. It now reads
    "ChainID returns the chain ID of the execution client".
  • shared/services/bc-manager.go:159 — BeaconClientManager.GetEth2DepositContract
    was documented as "Get the Beacon configuration", a verbatim copy of the
    comment on GetEth2Config at line 148. It now reads "Get the eth2 deposit
    contract info", matching the wording already used by the same method in
    shared/services/beacon/client/std-http-client.go:170.

Signed-off-by: kleonyuan <kleonyuan@outlook.com>
@0xfornax
0xfornax merged commit 78414df into rocket-pool:master Oct 18, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants