Create, import join wallet BCH
This commit is contained in:
parent
e85175ed6c
commit
5175e7e2c4
6 changed files with 44 additions and 2 deletions
|
|
@ -15,6 +15,7 @@ angular.module('copayApp.controllers').controller('importController',
|
|||
$scope.formData.bwsurl = defaults.bws.url;
|
||||
$scope.formData.derivationPath = derivationPathHelper.default;
|
||||
$scope.formData.account = 1;
|
||||
$scope.formData.coin = 'btc';
|
||||
$scope.importErr = false;
|
||||
$scope.isCopay = appConfigService.name == 'copay';
|
||||
$scope.fromHardwareWallet = { value: false };
|
||||
|
|
@ -273,6 +274,7 @@ angular.module('copayApp.controllers').controller('importController',
|
|||
}
|
||||
|
||||
opts.passphrase = $scope.formData.passphrase || null;
|
||||
opts.coin = $scope.formData.coin;
|
||||
|
||||
if ($scope.fromHardwareWallet.value) {
|
||||
$log.debug('Importing seed from hardware wallet');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue