From 5de0c2934058750bba6ac449f4700e9173e6ffe6 Mon Sep 17 00:00:00 2001 From: Duke Leto Date: Thu, 4 Feb 2021 12:21:31 -0500 Subject: [PATCH] Only use -ac_pubkey if needed --- index.html | 2 +- main.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 7277541..665df88 100644 --- a/index.html +++ b/index.html @@ -107,6 +107,6 @@ - + diff --git a/main.js b/main.js index 9eba791..a823ab0 100644 --- a/main.js +++ b/main.js @@ -94,7 +94,8 @@ new Vue({ this.command = "git clone https://git.hush.is/hush/hush3
cd hush3
./build.sh
cd src
./hush-smart-chain -ac_name=" + this.optionName + " -ac_supply=" + this.optionSupply + " -ac_blocktime=" + this.optionBlocktime + " -ac_private=" + this.optionz2z; this.command += " -ac_reward=" + this.optionReward + " -ac_halving=" + this.optionHalving; - this.command += " -ac_pubkey=" + this.optionPubkey; + if(this.optionPubkey != '') + this.command += " -ac_pubkey=" + this.optionPubkey; /* if (this.optionAllowList.length != 0) { this.command = this.conf + "

whitelist=" + this.optionAllowList