diff --git a/public/views/export.html b/public/views/export.html index 717bae80a..75a4aaa4f 100644 --- a/public/views/export.html +++ b/public/views/export.html @@ -9,8 +9,7 @@
- Failed to export - {{touchIdError}} + Failed to export
diff --git a/src/js/controllers/export.js b/src/js/controllers/export.js index 7014f3ced..be7b6dcc7 100644 --- a/src/js/controllers/export.js +++ b/src/js/controllers/export.js @@ -7,7 +7,6 @@ angular.module('copayApp.controllers').controller('exportController', var isCordova = platformInfo.isCordova; var fc = profileService.focusedClient; $scope.isEncrypted = fc.isPrivKeyEncrypted(); - $scope.touchIdError = null; $scope.error = null; $scope.success = null; diff --git a/src/js/controllers/preferencesDeleteWords.js b/src/js/controllers/preferencesDeleteWords.js index 2906cea2c..af7a9b140 100644 --- a/src/js/controllers/preferencesDeleteWords.js +++ b/src/js/controllers/preferencesDeleteWords.js @@ -12,7 +12,7 @@ angular.module('copayApp.controllers').controller('preferencesDeleteWordsControl confirmDialog.show(msg, function(ok) { if (ok) { fc.clearMnemonic(); - profileService.updateCredentials(fc.export(), function() { + profileService.updateCredentials(JSON.parse(fc.export()), function() { notification.success(successMsg); go.walletHome(); });