This commit is contained in:
Gordon Hall 2014-05-13 13:26:48 -04:00
parent 4348228c2e
commit 92e89d307e
1 changed files with 3 additions and 3 deletions

View File

@ -275,7 +275,7 @@ PeerManager.prototype.discover = function(options, callback) {
// transform that list into a list of Peer instances
peers = peers.map(function(ip) {
return new Peer(ip, networks.defaultClientPort);
return new Peer(ip, networks[self.config.network].defaultClientPort);
});
peers.forEach(function(p) {