Fix bug in calculating the last checkpointed block that is used in the stats
This commit is contained in:
@@ -45,7 +45,7 @@ while (1) {
|
||||
$count++;
|
||||
my $block = $start_height + $stride*$count;
|
||||
if ($block > $blocks) {
|
||||
$last = $stride*($count-1);
|
||||
$last = $start_height + $stride*($count-1);
|
||||
#print "last checkpointed block=$last\n";
|
||||
last;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user