mirror of https://github.com/embarklabs/embark.git
add NAT options
This commit is contained in:
parent
94276e8407
commit
ac268c0cd7
|
@ -81,6 +81,10 @@ Blockchain.prototype.run_command = function(address, use_tmp) {
|
|||
cmd += "--unlock " + address + " ";
|
||||
}
|
||||
|
||||
if (config.nat !== "any"){
|
||||
cmd += "--nat \"" + config.nat "\"";
|
||||
}
|
||||
|
||||
if (config.bootNodes.boot == true){
|
||||
cmd += "--bootnodes \"";
|
||||
for (var i = 0; i < config.bootNodes.enodes.length; i++){
|
||||
|
|
Loading…
Reference in New Issue