diff --git a/js/models/core/Wallet.js b/js/models/core/Wallet.js index 17a8256e5..8174e8f59 100644 --- a/js/models/core/Wallet.js +++ b/js/models/core/Wallet.js @@ -53,12 +53,12 @@ Wallet.prototype._handlePublicKeyRing = function(senderId, data, isInbound) { var hasChanged = pkr.merge(inPKR, true); if (hasChanged) { - this.log('### BROADCASTING PKR'); - recipients = null; - this.sendPublicKeyRing(recipients); if (this.publicKeyRing.isComplete()) { this._lockIncomming(); } + this.log('### BROADCASTING PKR'); + recipients = null; + this.sendPublicKeyRing(recipients); } this.emit('publicKeyRingUpdated', this.publicKeyRing); this.store();