some connection in intermediate screen

This commit is contained in:
Manuel Araoz 2014-08-18 12:46:51 -04:00
parent fd9d8d9e2e
commit 652726dbe9
3 changed files with 6 additions and 2 deletions

View File

@ -633,7 +633,9 @@ Wallet.prototype.sendReject = function(ntxid) {
});
};
Wallet.prototype.sendWalletReady = function(recipients) {
preconditions.checkArgument(recipients);
this.log('### SENDING WalletReady TO:', recipients);
this.send(recipients, {

View File

@ -268,7 +268,8 @@ WalletFactory.prototype.joinCreateSession = function(secret, nickname, passphras
data.opts.passphrase = passphrase;
data.opts.id = data.walletId;
var w = self.create(data.opts);
w.seedCopayer(s.pubKey);
w.sendWalletReady(s.pubKey);
//w.seedCopayer(s.pubKey);
return cb(null, w);
}
});

View File

@ -309,7 +309,8 @@ Network.prototype.start = function(opts, openCallback) {
this.socket.removeAllListeners();
}
this.socket = io.connect(this.host + ':' + this.port, {
var hostPort = this.host + ':' + this.port;
this.socket = io.connect(hostPort, {
reconnection: false,
});
this._setupConnectionHandlers(openCallback);