fix configs

This commit is contained in:
Matias Alejo Garcia 2014-01-23 17:55:27 -03:00
parent 91dec6fbdc
commit 7461c4816c
2 changed files with 8 additions and 2 deletions

View File

@ -16,5 +16,7 @@ module.exports = {
disableAgent: true,
},
network: 'testnet',
network: process.env.INSIGHT_NETWORK || 'testnet',
disableP2pSync: false,
disableHistoricSync: false,
};

6
config/env/test.js vendored
View File

@ -12,7 +12,11 @@ module.exports = {
pass: process.env.BITCOIND_PASS || 'pass',
host: process.env.BITCOIND_HOST || '127.0.0.1',
port: process.env.BITCOIND_PORT || '18332',
p2p_port: process.env.BITCOIND_P2P_PORT || '18333',
disableAgent: true,
},
network: 'testnet',
network: process.env.INSIGHT_NETWORK || 'testnet',
disableP2pSync: false,
disableHistoricSync: false,
};