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 + " ";
|
||||
}
|
||||
|
||||
if (config.bootNodes.init == true){
|
||||
if (config.bootNodes.boot == true){
|
||||
cmd += "--bootnodes ";
|
||||
for (var i = 0; i < config.bootNodes.enodes.length; i++){
|
||||
cmd += config.bootNodes.enodes[i] + " ";
|
||||
}
|
||||
}
|
||||
|
||||
if (config.console_toggle) {
|
||||
cmd += "console";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue