From 53343051e82315ae00d25f16a3b4a275d2328004 Mon Sep 17 00:00:00 2001 From: Duke Leto Date: Mon, 19 Sep 2022 13:25:07 -0400 Subject: [PATCH] Fix bug in calculating the last checkpointed block that is used in the stats --- util/checkpoints.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/checkpoints.pl b/util/checkpoints.pl index ae273ed85..25cf5e3ad 100755 --- a/util/checkpoints.pl +++ b/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; }