Skip to content

Commit f247db8

Browse files
authored
Merge pull request #1054 from stringsbuilder/master
chore: correct grammar and word in code comments
2 parents 9990451 + f6bc4dd commit f247db8

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

rocketpool-cli/odao/commands.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ func RegisterCommands(app *cli.Command, name string, aliases []string) {
9595
Name: "penalise-megapool",
9696
Aliases: []string{"pm"},
9797
Usage: "(Saturn) Penalise a megapool",
98-
UsageText: "rocketpool odao penalise-megapool megapool-adress block",
98+
UsageText: "rocketpool odao penalise-megapool megapool-address block",
9999
Flags: []cli.Flag{
100100
&cli.BoolFlag{
101101
Name: "yes",

shared/services/beacon/client/std-http-client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ func (c *StandardHttpClient) GetValidatorBalances(indices []string, opts *beacon
311311
// In order to avoid thrashing the bn, when opts.Slot is provided,
312312
// we will preflight the balance query with a sync query, and ensure that the
313313
// bn has not entered optimistic sync due to being unable to provide forkchoice updates,
314-
// and that the current head is a recent slot.
314+
// and that the current head is at a recent slot.
315315
func (c *StandardHttpClient) GetValidatorBalancesSafe(indices []string, opts *beacon.ValidatorStatusOptions) (map[string]*big.Int, error) {
316316
// Filter out empty indices
317317
indices = slices.DeleteFunc(indices, func(index string) bool {

shared/utils/api/utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ func IsTransactionDue(rp *rocketpool.RocketPool, startTime time.Time) (bool, tim
101101

102102
}
103103

104-
// Expects a 129 byte 0x-prefixed EIP-712 signature and returns v/r/s as v uint8 and r, s [32]byte
104+
// Expects a 129 byte 0x-prefixed EIP-712 signature and returns v/r/s as v uint8 and r, s [32]byte
105105

106106
func ParseEIP712(signature string) (*EIP712Components, error) {
107107
if len(signature) != 132 || signature[:2] != "0x" {

0 commit comments

Comments
 (0)