mirror of https://github.com/BTCPrivate/copay.git
remove pubKeyRingUpdated event
This commit is contained in:
parent
0f1d651e36
commit
bdbe8bdfc7
|
@ -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…
Reference in New Issue