changes to bootnodes, kill console toggle option
This commit is contained in:
parent
76ec8442ee
commit
482a630294
|
@ -81,15 +81,13 @@ Blockchain.prototype.run_command = function(address, use_tmp) {
|
||||||
cmd += "--unlock " + address + " ";
|
cmd += "--unlock " + address + " ";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (config.bootNodes !== undefined && config.bootNodes.boot == true){
|
if (config.bootNodes.boot == true){
|
||||||
cmd += "--bootnodes ";
|
cmd += "--bootnodes \"";
|
||||||
for (var i = 0; i < config.bootNodes.enodes.length; i++){
|
for (var i = 0; i < config.bootNodes.enodes.length; i++){
|
||||||
cmd += config.bootNodes.enodes[i] + " ";
|
cmd += config.bootNodes.enodes[i];
|
||||||
|
if (i != config.bootNodes.enodes.lenth - 1) cmd += " ";
|
||||||
}
|
}
|
||||||
}
|
cmd += "\"";
|
||||||
|
|
||||||
if (config.console_toggle) {
|
|
||||||
cmd += "console";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (config.mine_when_needed) {
|
if (config.mine_when_needed) {
|
||||||
|
|
Loading…
Reference in New Issue