From 5d4ac32a2a695b18090361e28f4551a2e30f4d38 Mon Sep 17 00:00:00 2001 From: "Michael Bradley, Jr" Date: Thu, 27 Sep 2018 16:57:02 -0500 Subject: [PATCH] Boolean() -> !! --- lib/modules/blockchain_process/blockchain.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/modules/blockchain_process/blockchain.js b/lib/modules/blockchain_process/blockchain.js index 4397d810a..97b68aae7 100644 --- a/lib/modules/blockchain_process/blockchain.js +++ b/lib/modules/blockchain_process/blockchain.js @@ -343,7 +343,7 @@ Blockchain.prototype.initChainAndGetAddress = function(callback) { }; var BlockchainClient = function(blockchainConfig, client, env, onReadyCallback, onExitCallback) { - const isDev = Boolean(blockchainConfig.isDev); + const isDev = !!blockchainConfig.isDev; // TODO add other clients at some point if (client === 'geth') { return new Blockchain({blockchainConfig, client: GethCommands, env, isDev, onReadyCallback, onExitCallback});