Gordon Hall 11 years ago
parent
commit
92e89d307e
  1. 2
      lib/PeerManager.js

2
lib/PeerManager.js

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

Loading…
Cancel
Save