Merge pull request #6268 from cmgustavo/bug/switch-testnet

Fix derivation path when testnet button pressed
This commit is contained in:
Gabriel Edgardo Bazán 2017-06-20 11:37:55 -03:00 committed by GitHub
commit 76a2e6c444
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() {