Hold on backup page until all copayers made a full backup

This commit is contained in:
Yemel Jardi 2014-07-07 18:35:44 -03:00
commit 49ac6dfcf4
4 changed files with 48 additions and 11 deletions

View file

@ -879,13 +879,13 @@ Wallet.prototype.toggleAddressBookEntry = function(key) {
};
Wallet.prototype.isReady = function() {
var ret = this.publicKeyRing.isComplete() && this.backupOffered;
var ret = this.publicKeyRing.isComplete() && this.publicKeyRing.isFullyBackup();
return ret;
};
Wallet.prototype.offerBackup = function() {
this.backupOffered = true;
this.store();
Wallet.prototype.setBackupReady = function() {
this.publicKeyRing.setBackupReady();
this.emit('publicKeyRingUpdated', false);
};
Wallet.prototype.signJson = function(payload) {