Skip to content

Commit

Permalink
rpc/client: fix typo (#23834)
Browse files Browse the repository at this point in the history
  • Loading branch information
chuwt authored Nov 1, 2021
1 parent ff84491 commit 1e4becb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rpc/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -426,12 +426,12 @@ func (c *Client) Notify(ctx context.Context, method string, args ...interface{})
return c.send(ctx, op, msg)
}

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

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

0 comments on commit 1e4becb

Please sign in to comment.