From 71fb11d6a0e7138d9588937f1f643d7bb60da5c4 Mon Sep 17 00:00:00 2001 From: Lewis Marshall Date: Wed, 14 Jun 2017 11:08:45 +0200 Subject: [PATCH] rpc: Fix EthSubscribe Signed-off-by: Lewis Marshall --- rpc/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpc/client.go b/rpc/client.go index 8b42416670..c6db5cc82f 100644 --- a/rpc/client.go +++ b/rpc/client.go @@ -359,7 +359,7 @@ func (c *Client) BatchCallContext(ctx context.Context, b []BatchElem) error { // EthSubscribe registers a subscripion under the "eth" namespace. func (c *Client) EthSubscribe(ctx context.Context, channel interface{}, args ...interface{}) (*ClientSubscription, error) { - return c.Subscribe(ctx, "eth", channel, args) + return c.Subscribe(ctx, "eth", channel, args...) } // Subscribe calls the "_subscribe" method with the given arguments,