Revert "Update P2P Ports"

This reverts commit 57bc11a592.
This commit is contained in:
Sky Young 2018-05-17 09:53:52 -07:00
parent dc7eacb112
commit b1f828bea9

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 || 7313;
port = this._configPeers[0].port || 7312;
} else if (this.node.network !== 'regtest') {
network = 'testnet';
port = this._configPeers[0].port || 17313;
port = this._configPeers[0].port || 17312;
} else {
network = this.node.network;
port = this._configPeers[0].port || 47414;
port = this._configPeers[0].port || 48444;
}
self._bcoin = new Bcoin({