From 282454975510b2ab1007ed356227ed903b5f7980 Mon Sep 17 00:00:00 2001 From: qybdyx Date: Tue, 18 Jun 2024 18:32:52 +0800 Subject: [PATCH] fix typo --- ethclient/ethclient.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ethclient/ethclient.go b/ethclient/ethclient.go index 2028f10378..86ce653b7c 100644 --- a/ethclient/ethclient.go +++ b/ethclient/ethclient.go @@ -143,7 +143,7 @@ func (ec *Client) BlobSidecars(ctx context.Context, blockNrOrHash rpc.BlockNumbe // BlobSidecarByTxHash return a sidecar of a given blob transaction func (ec *Client) BlobSidecarByTxHash(ctx context.Context, hash common.Hash) (*types.BlobTxSidecar, error) { var r *types.BlobTxSidecar - err := ec.c.CallContext(ctx, &r, "eth_getBlockSidecarByTxHash", hash) + err := ec.c.CallContext(ctx, &r, "eth_getBlobSidecarByTxHash", hash) if err == nil && r == nil { return nil, ethereum.NotFound }