Skip to content

Commit

Permalink
Merge pull request ethereum#14727 from holiman/count_txs_right
Browse files Browse the repository at this point in the history
Fix error when reporting numer of txs in imported blocks
  • Loading branch information
karalabe authored Jun 29, 2017
2 parents dfd0762 + 8bbd598 commit 65b96dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/blockchain.go
Original file line number Diff line number Diff line change
Expand Up @@ -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}
}
}

Expand Down

0 comments on commit 65b96dc

Please sign in to comment.