From f6bc4dd2f26ecd645371512acc45fbffdff0198a Mon Sep 17 00:00:00 2001 From: stringsbuilder Date: Wed, 1 Apr 2026 00:42:47 +0800 Subject: [PATCH] chore: correct grammar and word in code comments Signed-off-by: stringsbuilder --- rocketpool-cli/odao/commands.go | 2 +- shared/services/beacon/client/std-http-client.go | 2 +- shared/utils/api/utils.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/rocketpool-cli/odao/commands.go b/rocketpool-cli/odao/commands.go index f5da8e0a6..92f7e313b 100644 --- a/rocketpool-cli/odao/commands.go +++ b/rocketpool-cli/odao/commands.go @@ -95,7 +95,7 @@ func RegisterCommands(app *cli.Command, name string, aliases []string) { Name: "penalise-megapool", Aliases: []string{"pm"}, Usage: "(Saturn) Penalise a megapool", - UsageText: "rocketpool odao penalise-megapool megapool-adress block", + UsageText: "rocketpool odao penalise-megapool megapool-address block", Flags: []cli.Flag{ &cli.BoolFlag{ Name: "yes", diff --git a/shared/services/beacon/client/std-http-client.go b/shared/services/beacon/client/std-http-client.go index 3c511bf1a..aa708e0ab 100644 --- a/shared/services/beacon/client/std-http-client.go +++ b/shared/services/beacon/client/std-http-client.go @@ -311,7 +311,7 @@ func (c *StandardHttpClient) GetValidatorBalances(indices []string, opts *beacon // In order to avoid thrashing the bn, when opts.Slot is provided, // we will preflight the balance query with a sync query, and ensure that the // bn has not entered optimistic sync due to being unable to provide forkchoice updates, -// and that the current head is a recent slot. +// and that the current head is at a recent slot. func (c *StandardHttpClient) GetValidatorBalancesSafe(indices []string, opts *beacon.ValidatorStatusOptions) (map[string]*big.Int, error) { // Filter out empty indices indices = slices.DeleteFunc(indices, func(index string) bool { diff --git a/shared/utils/api/utils.go b/shared/utils/api/utils.go index 0309ff2e5..b893c8e2b 100644 --- a/shared/utils/api/utils.go +++ b/shared/utils/api/utils.go @@ -101,7 +101,7 @@ func IsTransactionDue(rp *rocketpool.RocketPool, startTime time.Time) (bool, tim } -// Expects a 129 byte 0x-prefixed EIP-712 signature and returns v/r/s as v uint8 and r, s [32]byte +// Expects a 129 byte 0x-prefixed EIP-712 signature and returns v/r/s as v uint8 and r, s [32]byte func ParseEIP712(signature string) (*EIP712Components, error) { if len(signature) != 132 || signature[:2] != "0x" {