allow single address wallet for auditable reasons

This commit is contained in:
Gabriel Bazán 2016-06-07 10:37:06 -03:00
commit f961247b2d
8 changed files with 23 additions and 7 deletions

View file

@ -137,6 +137,7 @@ angular.module('copayApp.controllers').controller('indexController', function($r
$timeout(function() {
$rootScope.$apply();
self.hasProfile = true;
self.isSingleAddress = false;
self.noFocusedWallet = false;
self.onGoingProcess = {};
@ -304,6 +305,7 @@ angular.module('copayApp.controllers').controller('indexController', function($r
if (err) {
self.updateError = bwsError.msg(err, gettext('Could not update Wallet'));
} else {
self.isSingleAddress = !!ret.wallet.singleAddress;
if (!opts.quiet)
self.setOngoingProcess('scanning', ret.wallet.scanStatus == 'running');
}