Commit 65b96dc4 authored by Péter Szilágyi's avatar Péter Szilágyi Committed by GitHub

Merge pull request #14727 from holiman/count_txs_right

Fix error when reporting numer of txs in imported blocks
parents dfd07624 8bbd598e
......@@ -1073,7 +1073,7 @@ func (st *insertStats) report(chain []*types.Block, index int) {
}
log.Info("Imported new chain segment", context...)
*st = insertStats{startTime: now, lastIndex: index}
*st = insertStats{startTime: now, lastIndex: index + 1}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment