mirror of https://github.com/embarklabs/embark.git
Merge pull request #93 from SafeMarket/minefix
only mine if config.mine is true
This commit is contained in:
commit
e78554b02f
|
@ -31,7 +31,9 @@ Blockchain.prototype.generate_basic_command = function() {
|
||||||
cmd += "--minerthreads \"" + config.minerthreads + "\" ";
|
cmd += "--minerthreads \"" + config.minerthreads + "\" ";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(config.mine)
|
||||||
cmd += "--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