mirror of https://github.com/embarklabs/embark.git
only mine if config.mine is true
This commit is contained in:
parent
8539ff241f
commit
f818faf680
|
@ -27,7 +27,9 @@ Blockchain.prototype.generate_basic_command = function() {
|
||||||
cmd += "--minerthreads \"" + config.minerthreads + "\" ";
|
cmd += "--minerthreads \"" + config.minerthreads + "\" ";
|
||||||
}
|
}
|
||||||
|
|
||||||
cmd += "--mine ";
|
if(config.mine)
|
||||||
|
cmd += "--mine ";
|
||||||
|
|
||||||
if (config.genesisBlock !== void 0) {
|
if (config.genesisBlock !== void 0) {
|
||||||
cmd += "--genesis=\"" + config.genesisBlock + "\" ";
|
cmd += "--genesis=\"" + config.genesisBlock + "\" ";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue