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'));
}
if (walletClient.hasPrivKeyEncrypted()) {
try {
walletClient.disablePrivateKeyEncryption();
} catch (e) {
$log.warn(e);
}
}
str = JSON.parse(str);
if (!str.n) {
@ -862,7 +854,7 @@ angular.module('copayApp.services')
var finale = shown; // GROUPING DISABLED!
var finale = [],
prev;
prev;
// Item grouping... DISABLED.