diff --git a/js/controllers/header.js b/js/controllers/header.js index 1a7c8fe66..e7b43e5a7 100644 --- a/js/controllers/header.js +++ b/js/controllers/header.js @@ -89,8 +89,8 @@ angular.module('copayApp.controllers').controller('HeaderController', $scope.backup = function() { var w = $rootScope.wallet; - backupService.download(w); w.setBackupReady(); + backupService.download(w); }; $scope.getVideoURL = function(copayer) { diff --git a/js/controllers/import.js b/js/controllers/import.js index fbb264143..0193aef5e 100644 --- a/js/controllers/import.js +++ b/js/controllers/import.js @@ -31,6 +31,12 @@ angular.module('copayApp.controllers').controller('ImportController', return; } + if (!w.isReady()) { + $rootScope.wallet = w; + controllerUtils.startNetwork($rootScope.wallet, $scope); + return; + } + w.updateIndexes(function(err) { updateStatus('Importing wallet - We are almost there...'); if (err) {