mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-25 06:06:44 +00:00
cmd/workload: fix compile
This commit is contained in:
parent
a2d040a2bf
commit
5113650598
1 changed files with 1 additions and 1 deletions
|
|
@ -112,7 +112,7 @@ func generateTraceTests(clictx *cli.Context) error {
|
||||||
log.Info("Trace transactions around the chain tip", "head", latest, "start", startBlock, "end", endBlock)
|
log.Info("Trace transactions around the chain tip", "head", latest, "start", startBlock, "end", endBlock)
|
||||||
|
|
||||||
for i := startBlock; i < endBlock; i++ {
|
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 {
|
if err != nil {
|
||||||
exit(err)
|
exit(err)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue