change enodes config to boot

This commit is contained in:
Iuri Matias 2015-10-01 22:37:47 -04:00
parent 6fcc9c7481
commit 02a52f718f
1 changed files with 2 additions and 1 deletions

View File

@ -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";
} }