add a testnet switch when importing mnemonics
This commit is contained in:
parent
86da7b8d54
commit
00dba11d4b
3 changed files with 18 additions and 1 deletions
|
|
@ -125,6 +125,13 @@ angular.module('copayApp.controllers').controller('importController',
|
|||
}, 100);
|
||||
};
|
||||
|
||||
$scope.setDerivationPath = function() {
|
||||
if ($scope.testnetEnabled)
|
||||
$scope.derivationPath = derivationPathHelper.defaultTestnet;
|
||||
else
|
||||
$scope.derivationPath = derivationPathHelper.default;
|
||||
}
|
||||
|
||||
$scope.getFile = function() {
|
||||
// If we use onloadend, we need to check the readyState.
|
||||
reader.onloadend = function(evt) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue