Remove Name field and copayer list on 1-of-1 wallets

This commit is contained in:
Yemel Jardi 2014-08-04 16:27:58 -03:00
commit 523a48b056
7 changed files with 21 additions and 9 deletions

View file

@ -913,6 +913,10 @@ Wallet.prototype.toggleAddressBookEntry = function(key) {
this.store();
};
Wallet.prototype.isShared = function() {
return this.totalCopayers > 1;
}
Wallet.prototype.isReady = function() {
var ret = this.publicKeyRing.isComplete() && this.publicKeyRing.isFullyBackup();
return ret;