fix importing wallet from file

This commit is contained in:
Javier 2016-11-17 16:07:06 -03:00
commit 61c5f34b6a

View file

@ -598,14 +598,6 @@ angular.module('copayApp.services')
return cb(gettext('Could not import. Check input file and spending password')); return cb(gettext('Could not import. Check input file and spending password'));
} }
if (walletClient.hasPrivKeyEncrypted()) {
try {
walletClient.disablePrivateKeyEncryption();
} catch (e) {
$log.warn(e);
}
}
str = JSON.parse(str); str = JSON.parse(str);
if (!str.n) { if (!str.n) {