fix import BCH wallet from private key

This commit is contained in:
Gabriel Bazán 2017-09-29 11:14:56 -03:00
commit a271a34041

View file

@ -270,6 +270,7 @@ angular.module('copayApp.controllers').controller('importController',
opts.account = pathData.account;
opts.networkName = pathData.networkName;
opts.derivationStrategy = pathData.derivationStrategy;
opts.coin = $scope.formData.coin;
var words = $scope.formData.words || null;
@ -290,7 +291,6 @@ angular.module('copayApp.controllers').controller('importController',
}
opts.passphrase = $scope.formData.passphrase || null;
opts.coin = $scope.formData.coin;
if ($scope.fromHardwareWallet.value) {
$log.debug('Importing seed from hardware wallet');