some connection in intermediate screen
This commit is contained in:
parent
fd9d8d9e2e
commit
652726dbe9
3 changed files with 6 additions and 2 deletions
|
|
@ -633,7 +633,9 @@ Wallet.prototype.sendReject = function(ntxid) {
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
Wallet.prototype.sendWalletReady = function(recipients) {
|
Wallet.prototype.sendWalletReady = function(recipients) {
|
||||||
|
preconditions.checkArgument(recipients);
|
||||||
this.log('### SENDING WalletReady TO:', recipients);
|
this.log('### SENDING WalletReady TO:', recipients);
|
||||||
|
|
||||||
this.send(recipients, {
|
this.send(recipients, {
|
||||||
|
|
|
||||||
|
|
@ -268,7 +268,8 @@ WalletFactory.prototype.joinCreateSession = function(secret, nickname, passphras
|
||||||
data.opts.passphrase = passphrase;
|
data.opts.passphrase = passphrase;
|
||||||
data.opts.id = data.walletId;
|
data.opts.id = data.walletId;
|
||||||
var w = self.create(data.opts);
|
var w = self.create(data.opts);
|
||||||
w.seedCopayer(s.pubKey);
|
w.sendWalletReady(s.pubKey);
|
||||||
|
//w.seedCopayer(s.pubKey);
|
||||||
return cb(null, w);
|
return cb(null, w);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -309,7 +309,8 @@ Network.prototype.start = function(opts, openCallback) {
|
||||||
this.socket.removeAllListeners();
|
this.socket.removeAllListeners();
|
||||||
}
|
}
|
||||||
|
|
||||||
this.socket = io.connect(this.host + ':' + this.port, {
|
var hostPort = this.host + ':' + this.port;
|
||||||
|
this.socket = io.connect(hostPort, {
|
||||||
reconnection: false,
|
reconnection: false,
|
||||||
});
|
});
|
||||||
this._setupConnectionHandlers(openCallback);
|
this._setupConnectionHandlers(openCallback);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue