Merge pull request #2681 from matiu/bug/checkoutflag

set backupflag on import
This commit is contained in:
Gustavo Maximiliano Cortez 2015-05-04 19:24:22 -03:00
commit 992c98d003
1 changed files with 1 additions and 0 deletions

View File

@ -638,6 +638,7 @@ angular.module('copayApp.controllers').controller('indexController', function($r
});
$rootScope.$on('Local/WalletImported', function(event, walletId) {
self.needsBackup = false;
storageService.setBackupFlag(walletId, function() {
storageService.clearLastAddress(walletId, function(err) {
self.startScan(walletId);