rpc: deprecate Client.ShhSubscribe (#22239)

It never worked, whisper uses polling.

Co-authored-by: Felix Lange <fjl@twurst.com>
pull/22248/head
Guillaume Ballet 4 years ago committed by GitHub
parent a72fa88a0d
commit 2e5d141708
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      rpc/client.go

@ -414,6 +414,7 @@ func (c *Client) EthSubscribe(ctx context.Context, channel interface{}, args ...
}
// 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) {
return c.Subscribe(ctx, "shh", channel, args...)
}

Loading…
Cancel
Save