From 61c5f34b6a06e971581443225f631a47097d99b1 Mon Sep 17 00:00:00 2001 From: Javier Date: Thu, 17 Nov 2016 16:07:06 -0300 Subject: [PATCH] fix importing wallet from file --- src/js/services/profileService.js | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/js/services/profileService.js b/src/js/services/profileService.js index 78f99a86b..09ad6e0ff 100644 --- a/src/js/services/profileService.js +++ b/src/js/services/profileService.js @@ -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.