Skip to content

Commit 1e4becb

Browse files
authored
rpc/client: fix typo (#23834)
1 parent ff84491 commit 1e4becb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rpc/client.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -426,12 +426,12 @@ func (c *Client) Notify(ctx context.Context, method string, args ...interface{})
426426
return c.send(ctx, op, msg)
427427
}
428428

429-
// EthSubscribe registers a subscripion under the "eth" namespace.
429+
// EthSubscribe registers a subscription under the "eth" namespace.
430430
func (c *Client) EthSubscribe(ctx context.Context, channel interface{}, args ...interface{}) (*ClientSubscription, error) {
431431
return c.Subscribe(ctx, "eth", channel, args...)
432432
}
433433

434-
// ShhSubscribe registers a subscripion under the "shh" namespace.
434+
// ShhSubscribe registers a subscription under the "shh" namespace.
435435
// Deprecated: use Subscribe(ctx, "shh", ...).
436436
func (c *Client) ShhSubscribe(ctx context.Context, channel interface{}, args ...interface{}) (*ClientSubscription, error) {
437437
return c.Subscribe(ctx, "shh", channel, args...)

0 commit comments

Comments
 (0)