From ac5a886ea6b7fd240d49b52fca42781cbbb852c3 Mon Sep 17 00:00:00 2001 From: Matias Alejo Garcia Date: Mon, 26 May 2014 13:38:01 -0300 Subject: [PATCH] add report when starting insight2 --- config/config.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/config/config.js b/config/config.js index e2d80703..875fe3d9 100644 --- a/config/config.js +++ b/config/config.js @@ -58,8 +58,6 @@ if (!dataDir) { if (isMac) dataDir = process.env.HOME + '/Library/Application Support/Bitcoin/'; if (isLinux) dataDir = process.env.HOME + '/.bitcoin/'; } -var odataDir = dataDir; - dataDir += network === 'testnet' ? 'testnet3' : ''; var safeConfirmations = process.env.SAFE_CONFIRMATIONS || 6; @@ -103,7 +101,7 @@ bitcoindConf.protocol, bitcoindConf.host, bitcoindConf.port, bitcoindConf.p2p_port, -odataDir +dataDir+(network==='testnet'?'(/testnet is added automatically)':'') );