Skip to content

Commit 2d07638

Browse files
Merge remote-tracking branch 'origin/master' into test/erigon-qa
2 parents 3dd0355 + 1928b0b commit 2d07638

File tree

1 file changed

+1
-1
lines changed
  • pkg/coordinator/tasks/tx_pool_throughput_analysis

1 file changed

+1
-1
lines changed

pkg/coordinator/tasks/tx_pool_throughput_analysis/task.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ func (t *Task) Execute(ctx context.Context) error {
236236
}
237237

238238
t.logger.Infof("Got %d transactions", gotTx)
239-
t.logger.Infof("Tx/s: (%d txs processed): %.2f / s \n", t.config.MeasureInterval, float64(t.config.MeasureInterval)*float64(time.Second)/float64(time.Since(lastMeasureTime)))
239+
t.logger.Infof("Tx/s: (%d txs processed): %.2f / s \n", gotTx, float64(t.config.MeasureInterval)*float64(time.Second)/float64(time.Since(lastMeasureTime)))
240240

241241
lastMeasureTime = time.Now()
242242
}

0 commit comments

Comments
 (0)