Fix derivation path when testnet button pressed

This commit is contained in:
Gustavo Maximiliano Cortez 2017-06-19 17:10:55 -03:00
parent c9bacc659b
commit f07091099e
No known key found for this signature in database
GPG Key ID: 15EDAD8D9F2EB1AF
1 changed files with 1 additions and 1 deletions

View File

@ -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() {