From 20a1484a91bf24749b170e0fa23f93851b57ec8e Mon Sep 17 00:00:00 2001 From: Daniel Liu Date: Wed, 20 Aug 2025 13:44:37 +0800 Subject: [PATCH] ethclient: fix parity compatibility on newHeads #16454 --- ethclient/ethclient.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ethclient/ethclient.go b/ethclient/ethclient.go index ec666b072c8a..7619f6212ff2 100644 --- a/ethclient/ethclient.go +++ b/ethclient/ethclient.go @@ -310,7 +310,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