mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-25 06:06:44 +00:00
rpc: remove shh and bzz
This commit is contained in:
parent
5428d56950
commit
46f5aaaf99
2 changed files with 1 additions and 7 deletions
|
|
@ -487,12 +487,6 @@ func (c *Client) EthSubscribe(ctx context.Context, channel interface{}, args ...
|
||||||
return c.Subscribe(ctx, "eth", channel, args...)
|
return c.Subscribe(ctx, "eth", channel, args...)
|
||||||
}
|
}
|
||||||
|
|
||||||
// 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...)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Subscribe calls the "<namespace>_subscribe" method with the given arguments,
|
// Subscribe calls the "<namespace>_subscribe" method with the given arguments,
|
||||||
// registering a subscription. Server notifications for the subscription are
|
// registering a subscription. Server notifications for the subscription are
|
||||||
// sent to the given channel. The element type of the channel must match the
|
// sent to the given channel. The element type of the channel must match the
|
||||||
|
|
|
||||||
|
|
@ -59,7 +59,7 @@ func TestSubscriptions(t *testing.T) {
|
||||||
t.Parallel()
|
t.Parallel()
|
||||||
|
|
||||||
var (
|
var (
|
||||||
namespaces = []string{"eth", "bzz"}
|
namespaces = []string{"eth"}
|
||||||
service = ¬ificationTestService{}
|
service = ¬ificationTestService{}
|
||||||
subCount = len(namespaces)
|
subCount = len(namespaces)
|
||||||
notificationCount = 3
|
notificationCount = 3
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue