mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 23:26:44 +00:00
rpc: Fix EthSubscribe
Signed-off-by: Lewis Marshall <lewis@lmars.net>
This commit is contained in:
parent
b3557cd6e1
commit
71fb11d6a0
1 changed files with 1 additions and 1 deletions
|
|
@ -359,7 +359,7 @@ func (c *Client) BatchCallContext(ctx context.Context, b []BatchElem) error {
|
||||||
|
|
||||||
// EthSubscribe registers a subscripion under the "eth" namespace.
|
// EthSubscribe registers a subscripion under the "eth" namespace.
|
||||||
func (c *Client) EthSubscribe(ctx context.Context, channel interface{}, args ...interface{}) (*ClientSubscription, error) {
|
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 "<namespace>_subscribe" method with the given arguments,
|
// Subscribe calls the "<namespace>_subscribe" method with the given arguments,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue