From f12bfeb7f4728527e99ca52de3691517ffa45691 Mon Sep 17 00:00:00 2001 From: Duke Date: Thu, 15 Jun 2023 15:38:16 -0400 Subject: [PATCH] Fix bug where it uses the wrong -ac_name --- util/checkpoints.pl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/util/checkpoints.pl b/util/checkpoints.pl index be6bf28be..910f0abae 100755 --- a/util/checkpoints.pl +++ b/util/checkpoints.pl @@ -8,7 +8,6 @@ use strict; # Generate checkpoint data for use in src/chainparams.cpp my $perday = 1152; my $cli = "./src/hush-cli"; -my $gethash = "$cli getblockhash"; my $stride = shift || 1000; if ($stride =~ m/help/) { print "To generate checkpoint data every 1000 blocks: $0 &> checkpoints.txt\n"; @@ -36,7 +35,7 @@ if ($acname) { $perday = 1440; } - +my $gethash = "$cli getblockhash"; my $count = 0; my $blocks = qx{$cli getblockcount}; if($?) {