change locking order
This commit is contained in:
parent
830b6d2b5f
commit
8138eaed7b
1 changed files with 3 additions and 3 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue