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