Update P2P Ports

This commit is contained in:
Sky Young 2018-05-17 09:35:18 -07:00
parent 7ac4d51db1
commit 57bc11a592

View File

@ -439,13 +439,13 @@ P2P.prototype._startBcoin = function(callback) {
var port;
if (['livenet', 'live', 'main', 'mainnet'].indexOf(this.node.network) !== -1) {
network = 'main';
port = this._configPeers[0].port || 7312;
port = this._configPeers[0].port || 7313;
} else if (this.node.network !== 'regtest') {
network = 'testnet';
port = this._configPeers[0].port || 17312;
port = this._configPeers[0].port || 17313;
} else {
network = this.node.network;
port = this._configPeers[0].port || 48444;
port = this._configPeers[0].port || 47414;
}
self._bcoin = new Bcoin({