Fix bug where it uses the wrong -ac_name
This commit is contained in:
@@ -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($?) {
|
||||
|
||||
Reference in New Issue
Block a user