mirror of https://github.com/embarklabs/embark.git
fix syncmode
This commit is contained in:
parent
62c6b57f45
commit
962a9c5b11
|
@ -46,6 +46,7 @@ var Blockchain = function(options) {
|
|||
vmdebug: this.blockchainConfig.vmdebug || false,
|
||||
targetGasLimit: this.blockchainConfig.targetGasLimit || false,
|
||||
syncMode: this.blockchainConfig.syncMode,
|
||||
syncmode: this.blockchainConfig.syncmode,
|
||||
verbosity: this.blockchainConfig.verbosity
|
||||
};
|
||||
|
||||
|
|
|
@ -20,8 +20,8 @@ class GethCommands {
|
|||
cmd.push(`--datadir=${config.datadir}`);
|
||||
}
|
||||
|
||||
if (config.syncMode) {
|
||||
cmd.push("--syncmode=" + config.syncMode);
|
||||
if (config.syncmode || config.syncMode) {
|
||||
cmd.push("--syncmode=" + config.syncmode || config.syncMode);
|
||||
}
|
||||
|
||||
if (config.account && config.account.password) {
|
||||
|
|
Loading…
Reference in New Issue