From f671282fdd8324306d4c65646c8836892c61c169 Mon Sep 17 00:00:00 2001 From: Gustavo Cortez Date: Tue, 25 Feb 2014 19:07:05 -0300 Subject: [PATCH] fixed environment variable for set port of bitcoind and p2p --- config/config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/config.js b/config/config.js index fbf585ca..a06e1746 100644 --- a/config/config.js +++ b/config/config.js @@ -56,8 +56,8 @@ module.exports = { user: process.env.BITCOIND_USER || 'user', pass: process.env.BITCOIND_PASS || 'pass', host: process.env.BITCOIND_HOST || '127.0.0.1', - port: b_port, - p2pPort: p2p_port, + port: process.env.BITCOIND_PORT || b_port, + p2pPort: process.env.BITCOIND_P2P_PORT || p2p_port, dataDir: dataDir, // DO NOT CHANGE THIS! disableAgent: true