Merge pull request #6268 from cmgustavo/bug/switch-testnet
Fix derivation path when testnet button pressed
This commit is contained in:
commit
76a2e6c444
1 changed files with 1 additions and 1 deletions
|
|
@ -194,7 +194,7 @@ angular.module('copayApp.controllers').controller('importController',
|
|||
};
|
||||
|
||||
$scope.setDerivationPath = function() {
|
||||
$scope.formData.testnetEnabled ? derivationPathHelper.defaultTestnet : derivationPathHelper.default;
|
||||
$scope.formData.derivationPath = $scope.formData.testnetEnabled ? derivationPathHelper.defaultTestnet : derivationPathHelper.default;
|
||||
};
|
||||
|
||||
$scope.getFile = function() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue