optimize address page and refresh UI calls.
This commit is contained in:
parent
710b2f48e3
commit
8836bdf86a
3 changed files with 3 additions and 6 deletions
|
|
@ -56,7 +56,6 @@ Wallet.prototype.connectToAll = function() {
|
|||
this.sendWalletReady(this.firstCopayerId);
|
||||
this.firstCopayerId = null;
|
||||
}
|
||||
this.emit('refresh');
|
||||
};
|
||||
|
||||
Wallet.prototype._handlePublicKeyRing = function(senderId, data, isInbound) {
|
||||
|
|
@ -206,8 +205,9 @@ Wallet.prototype.netStart = function() {
|
|||
}
|
||||
|
||||
net.start(startOpts, function() {
|
||||
self.emit('created', net.getPeer());
|
||||
self.connectToAll();
|
||||
self.emit('created', net.getPeer());
|
||||
self.emit('refresh');
|
||||
});
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue