From 509548977f26e975fe8f1b704b4778e48e74db7a Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Wed, 26 Feb 2025 12:51:04 +0100 Subject: [PATCH] cmd/workload: fix getBlockTransactionCountByNumber --- cmd/workload/historytest.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/workload/historytest.go b/cmd/workload/historytest.go index 15dd841c87..a681510422 100644 --- a/cmd/workload/historytest.go +++ b/cmd/workload/historytest.go @@ -298,7 +298,7 @@ func (c *client) getBlockTransactionCountByHash(ctx context.Context, block commo func (c *client) getBlockTransactionCountByNumber(ctx context.Context, block uint64) (uint64, error) { var r hexutil.Uint64 - err := c.RPC.CallContext(ctx, &r, "eth_getBlockTransactionCountByNumber", block) + err := c.RPC.CallContext(ctx, &r, "eth_getBlockTransactionCountByNumber", hexutil.Uint64(block)) return uint64(r), err }