Fix bug where it uses the wrong -ac_name

This commit is contained in:
Duke
2023-06-15 15:38:16 -04:00
parent b8ae39ccc7
commit f12bfeb7f4

View File

@@ -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($?) {