From 6b664fbfa8084b9c5d110fb4bcb499daebf1078f Mon Sep 17 00:00:00 2001 From: Heikki Hakala Date: Mon, 22 Jan 2018 09:54:49 +0200 Subject: [PATCH] Add light and fast from blockchain config --- lib/cmds/blockchain/blockchain.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/cmds/blockchain/blockchain.js b/lib/cmds/blockchain/blockchain.js index 352caecb..66adcffe 100644 --- a/lib/cmds/blockchain/blockchain.js +++ b/lib/cmds/blockchain/blockchain.js @@ -38,7 +38,9 @@ var Blockchain = function(options) { wsOrigins: this.blockchainConfig.wsOrigins || false, wsApi: (this.blockchainConfig.wsApi || ['eth', 'web3', 'net', 'shh']), vmdebug: this.blockchainConfig.vmdebug || false, - targetGasLimit: this.blockchainConfig.targetGasLimit || false + targetGasLimit: this.blockchainConfig.targetGasLimit || false, + light: this.blockchainConfig.light || false, + fast: this.blockchainConfig.fast || false }; if (this.blockchainConfig === {} || JSON.stringify(this.blockchainConfig) === '{"enabled":true}') {