allow single address wallet for auditable reasons
This commit is contained in:
parent
3790442932
commit
f961247b2d
8 changed files with 23 additions and 7 deletions
|
|
@ -100,6 +100,7 @@ angular.module('copayApp.controllers').controller('createController',
|
|||
myName: $scope.totalCopayers > 1 ? $scope.myName : null,
|
||||
networkName: $scope.testnetEnabled ? 'testnet' : 'livenet',
|
||||
bwsurl: $scope.bwsurl,
|
||||
singleAddress: $scope.singleAddressEnabled,
|
||||
walletPrivKey: $scope._walletPrivKey, // Only for testing
|
||||
};
|
||||
var setSeed = self.seedSourceId == 'set';
|
||||
|
|
|
|||
|
|
@ -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');
|
||||
}
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ angular.module('copayApp.controllers').controller('sidebarController',
|
|||
if (selectedWalletId == currentWalletId) return;
|
||||
self.walletSelection = false;
|
||||
profileService.setAndStoreFocus(selectedWalletId, function() {});
|
||||
$ionicScrollDelegate.$getByHandle('transactions').scrollTop();
|
||||
$ionicScrollDelegate.scrollTop();
|
||||
};
|
||||
|
||||
self.toggleWalletSelection = function() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue