Skip to content

Commit 65b96dc

Browse files
authored
Merge pull request ethereum#14727 from holiman/count_txs_right
Fix error when reporting numer of txs in imported blocks
2 parents dfd0762 + 8bbd598 commit 65b96dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/blockchain.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1073,7 +1073,7 @@ func (st *insertStats) report(chain []*types.Block, index int) {
10731073
}
10741074
log.Info("Imported new chain segment", context...)
10751075

1076-
*st = insertStats{startTime: now, lastIndex: index}
1076+
*st = insertStats{startTime: now, lastIndex: index + 1}
10771077
}
10781078
}
10791079

0 commit comments

Comments
 (0)