mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-02-26 22:20:38 +00:00
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 += "--mine ";
|
||||
if(config.mine)
|
||||
cmd += "--mine ";
|
||||
|
||||
if (config.genesisBlock !== void 0) {
|
||||
cmd += "--genesis=\"" + config.genesisBlock + "\" ";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user