Merge pull request #14727 from holiman/count_txs_right

Fix error when reporting numer of txs in imported blocks
This commit is contained in:
Péter Szilágyi 2017-06-29 16:49:43 +03:00 committed by GitHub
commit 65b96dc4b9
1 changed files with 1 additions and 1 deletions

View File

@ -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}
}
}