remove pubKeyRingUpdated event
This commit is contained in:
parent
0f1d651e36
commit
bdbe8bdfc7
2 changed files with 1 additions and 6 deletions
|
|
@ -79,7 +79,7 @@ Wallet.prototype._handlePublicKeyRing = function(senderId, data, isInbound) {
|
|||
recipients = null;
|
||||
this.sendPublicKeyRing(recipients);
|
||||
}
|
||||
this.emit('publicKeyRingUpdated', this.publicKeyRing);
|
||||
this.emit('refresh', this.publicKeyRing);
|
||||
this.store();
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -84,11 +84,6 @@ angular.module('copay.controllerUtils')
|
|||
});
|
||||
$rootScope.$digest();
|
||||
});
|
||||
w.on('publicKeyRingUpdated', function() {
|
||||
root.updateBalance(function() {
|
||||
$rootScope.$digest();
|
||||
});
|
||||
});
|
||||
w.on('openError', root.onErrorDigest);
|
||||
w.on('connect', function(peerID) {
|
||||
//alert(w.getRegisteredPeerIds());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue