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
|
# Generate checkpoint data for use in src/chainparams.cpp
|
||||||
my $perday = 1152;
|
my $perday = 1152;
|
||||||
my $cli = "./src/hush-cli";
|
my $cli = "./src/hush-cli";
|
||||||
my $gethash = "$cli getblockhash";
|
|
||||||
my $stride = shift || 1000;
|
my $stride = shift || 1000;
|
||||||
if ($stride =~ m/help/) {
|
if ($stride =~ m/help/) {
|
||||||
print "To generate checkpoint data every 1000 blocks: $0 &> checkpoints.txt\n";
|
print "To generate checkpoint data every 1000 blocks: $0 &> checkpoints.txt\n";
|
||||||
@@ -36,7 +35,7 @@ if ($acname) {
|
|||||||
$perday = 1440;
|
$perday = 1440;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
my $gethash = "$cli getblockhash";
|
||||||
my $count = 0;
|
my $count = 0;
|
||||||
my $blocks = qx{$cli getblockcount};
|
my $blocks = qx{$cli getblockcount};
|
||||||
if($?) {
|
if($?) {
|
||||||
|
|||||||
Reference in New Issue
Block a user