mirror of https://github.com/BTCPrivate/copay.git
Merge pull request #5074 from JDonadio/fix/import-from-file
Fix importing wallet from file
This commit is contained in:
commit
15dabe859a
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue