From 66a7e1915478ec1deafb7019e08d5e6b00ceff95 Mon Sep 17 00:00:00 2001 From: Amit0617 <71893015+Amit0617@users.noreply.github.com> Date: Tue, 6 Aug 2024 22:55:21 +0530 Subject: [PATCH] hit github release action once more --- main.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/main.go b/main.go index b4de552..f786ff4 100644 --- a/main.go +++ b/main.go @@ -607,13 +607,10 @@ func getBlockTransactionCountByIdentifier(c *fiber.Ctx) error { // getBlockTransactionCountByBlockHash retrieves block transaction count by block hash and returns it as JSON. func getBlockTransactionCountByBlockHash(c *fiber.Ctx, hash string) error { - blockHash := common.HexToHash(hash) - log.Println(blockHash) - var ctx = context.Background() var blockTransactionCount string - err := rpcClient.CallContext(ctx, &blockTransactionCount, "eth_getBlockTransactionCountByHash", blockHash) + err := rpcClient.CallContext(ctx, &blockTransactionCount, "eth_getBlockTransactionCountByHash", hash) if err != nil { log.Print("Error fetching block transaction count:", err) }