Set backup flag after import a backup

This commit is contained in:
Gustavo Maximiliano Cortez 2015-04-20 15:10:11 -03:00
parent 585f83825f
commit c6d17fc15e
1 changed files with 1 additions and 0 deletions

View File

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