Browse Source

Fix bug in calculating the last checkpointed block that is used in the stats

pull/208/head
Duke Leto 2 years ago
parent
commit
53343051e8
  1. 2
      util/checkpoints.pl

2
util/checkpoints.pl

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

Loading…
Cancel
Save