Merge pull request #1040 from yemel/feature/improve-1-of-1

Remove Name field and copayer list on 1-of-1 wallets
This commit is contained in:
Gustavo Maximiliano Cortez 2014-08-05 10:29:46 -03:00
commit a5544d08db
8 changed files with 25 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;