change enodes config to boot
This commit is contained in:
parent
6fcc9c7481
commit
02a52f718f
|
@ -75,12 +75,13 @@ Blockchain.prototype.run_command = function(address, use_tmp) {
|
||||||
cmd += "--unlock " + address + " ";
|
cmd += "--unlock " + address + " ";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (config.bootNodes.init == 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 (config.console_toggle) {
|
if (config.console_toggle) {
|
||||||
cmd += "console";
|
cmd += "console";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue