mirror of https://github.com/BTCPrivate/copay.git
some connection in intermediate screen
This commit is contained in:
parent
fd9d8d9e2e
commit
652726dbe9
|
@ -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, {
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
});
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue