mirror of
https://github.com/status-im/op-geth.git
synced 2025-01-14 16:55:53 +00:00
Merge pull request #14727 from holiman/count_txs_right
Fix error when reporting numer of txs in imported blocks
This commit is contained in:
commit
65b96dc4b9
@ -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}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user