Merge pull request #147 from matiu/bug/configs

fix configs
This commit is contained in:
Matias Alejo Garcia 2014-01-23 12:57:50 -08:00
commit 3685ca7374
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,
};