diff --git a/js/models/Wallet.js b/js/models/Wallet.js index ea4cface8..0b6fe5b1f 100644 --- a/js/models/Wallet.js +++ b/js/models/Wallet.js @@ -264,13 +264,6 @@ Wallet.prototype._newAddresses = function(dontUpdateUx) { }; -Wallet.prototype._publicKeyRingUpdated = function(isComplete) { - if (isComplete) { - this.subscribeToAddresses(); - }; - this.emitAndKeepAlive('publicKeyRingUpdated'); -}; - /** * @desc Handles an 'indexes' message. * @@ -348,7 +341,7 @@ Wallet.prototype._onPublicKeyRing = function(senderId, data) { this._lockIncomming(); } - this._publicKeyRingUpdated(this.publicKeyRing.isComplete()); + this.emitAndKeepAlive('publicKeyRingUpdated'); } };