mirror of https://github.com/BTCPrivate/copay.git
Merge pull request #6268 from cmgustavo/bug/switch-testnet
Fix derivation path when testnet button pressed
This commit is contained in:
commit
76a2e6c444
|
@ -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…
Reference in New Issue