aboutsummaryrefslogtreecommitdiffstats
path: root/ethclient/ethclient.go
diff options
context:
space:
mode:
Diffstat (limited to 'ethclient/ethclient.go')
-rw-r--r--ethclient/ethclient.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ethclient/ethclient.go b/ethclient/ethclient.go
index 87a912901..7349d6fba 100644
--- a/ethclient/ethclient.go
+++ b/ethclient/ethclient.go
@@ -296,7 +296,7 @@ func (ec *Client) SyncProgress(ctx context.Context) (*ethereum.SyncProgress, err
// SubscribeNewHead subscribes to notifications about the current blockchain head
// on the given channel.
func (ec *Client) SubscribeNewHead(ctx context.Context, ch chan<- *types.Header) (ethereum.Subscription, error) {
- return ec.c.EthSubscribe(ctx, ch, "newHeads", map[string]struct{}{})
+ return ec.c.EthSubscribe(ctx, ch, "newHeads")
}
// State Access