Browse Source

fix mocha tests

Node tests were erroring out on this. Need to have "./Connection"
patch-2
Ryan X. Charles 11 years ago
parent
commit
7f9891bc92
  1. 2
      PeerManager.js

2
PeerManager.js

@ -5,7 +5,7 @@ var log = imports.log || require('./util/log');
var network = imports.network || require('./networks')[config.network];
var Connection = imports.Connection ||
require('soop').load('Connection', {config: config, network: network}) ||
require('soop').load('./Connection', {config: config, network: network}) ||
require ('./Connection');
var Peer = imports.Peer || require('./Peer');

Loading…
Cancel
Save