Unverified Commit 2e5d1417 authored by Guillaume Ballet's avatar Guillaume Ballet Committed by GitHub

rpc: deprecate Client.ShhSubscribe (#22239)

It never worked, whisper uses polling.
Co-authored-by: 's avatarFelix Lange <fjl@twurst.com>
parent a72fa88a
...@@ -414,6 +414,7 @@ func (c *Client) EthSubscribe(ctx context.Context, channel interface{}, args ... ...@@ -414,6 +414,7 @@ func (c *Client) EthSubscribe(ctx context.Context, channel interface{}, args ...
} }
// ShhSubscribe registers a subscripion under the "shh" namespace. // ShhSubscribe registers a subscripion under the "shh" namespace.
// Deprecated: use Subscribe(ctx, "shh", ...).
func (c *Client) ShhSubscribe(ctx context.Context, channel interface{}, args ...interface{}) (*ClientSubscription, error) { func (c *Client) ShhSubscribe(ctx context.Context, channel interface{}, args ...interface{}) (*ClientSubscription, error) {
return c.Subscribe(ctx, "shh", channel, args...) return c.Subscribe(ctx, "shh", channel, args...)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment