From 526a57b4b7f3bd0fc10126bed34f0f43a91738dd Mon Sep 17 00:00:00 2001 From: Oliver Bundalo Date: Mon, 4 Nov 2024 16:16:06 +0100 Subject: [PATCH] LT runner fix --- loadtest/runner/base_load_test_runner.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loadtest/runner/base_load_test_runner.go b/loadtest/runner/base_load_test_runner.go index aaaeaf5f5c..b5b8c3629e 100644 --- a/loadtest/runner/base_load_test_runner.go +++ b/loadtest/runner/base_load_test_runner.go @@ -535,7 +535,7 @@ func (r *BaseLoadTestRunner) calculateResults(blockInfos map[uint64]*BlockInfo, if _, ok := blockTimeMap[block]; !ok { if currentBlockInfo, ok := blockInfos[block]; !ok { - currentBlock, err := r.client.GetBlockByNumber(jsonrpc.BlockNumber(parentBlockNum), true) + currentBlock, err := r.client.GetBlockByNumber(jsonrpc.BlockNumber(block), true) if err != nil { return err }