diff --git a/ethclient/ethclient.go b/ethclient/ethclient.go index 13372c29da502..1d2df5466ede6 100644 --- a/ethclient/ethclient.go +++ b/ethclient/ethclient.go @@ -562,15 +562,6 @@ func (ec *Client) SendTransaction(ctx context.Context, tx *types.Transaction) er return ec.c.CallContext(ctx, nil, "eth_sendRawTransaction", hexutil.Encode(data)) } -// SupportSubscriptions reports whether the client transport supports publish/subscribe -// APIs. -// -// Note that calls to SubscribeNewHeads and other subscription-based methods can still -// fail even when this returns true, because the server might not support the mechanism. -func (ec *Client) SupportsSubscriptions() bool { - return ec.c.SupportsSubscriptions() -} - func toBlockNumArg(number *big.Int) string { if number == nil { return "latest"