cmd/workload: fix compile

This commit is contained in:
Gary Rong 2025-06-25 15:17:04 +08:00
parent a2d040a2bf
commit 5113650598

View file

@ -112,7 +112,7 @@ func generateTraceTests(clictx *cli.Context) error {
log.Info("Trace transactions around the chain tip", "head", latest, "start", startBlock, "end", endBlock)
for i := startBlock; i < endBlock; i++ {
header, err := client.Eth.HeaderByNumber(ctx, big.NewInt(int64(i))
header, err := client.Eth.HeaderByNumber(ctx, big.NewInt(int64(i)))
if err != nil {
exit(err)
}