Browse Source

Only use -ac_pubkey if needed

master
Duke Leto 3 years ago
parent
commit
5de0c29340
  1. 2
      index.html
  2. 3
      main.js

2
index.html

@ -107,6 +107,6 @@
</div>
<script src='https://unpkg.com/vue'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js'></script>
<script src='main.js?v=6'></script>
<script src='main.js?v=7'></script>
</body>
</html>

3
main.js

@ -94,7 +94,8 @@ new Vue({
this.command = "git clone https://git.hush.is/hush/hush3<br/>cd hush3<br/>./build.sh<br/>cd src<br/>./<b>hush-smart-chain</b> -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 + "<br /><br />whitelist=" + this.optionAllowList

Loading…
Cancel
Save