clear error after recreate

This commit is contained in:
Matias Alejo Garcia 2015-04-18 07:23:11 -03:00
commit 563b318db6
3 changed files with 9 additions and 8 deletions

View file

@ -38,6 +38,7 @@ angular.module('copayApp.controllers').controller('importController',
self.error = err;
}
else {
$rootScope.$emit('Local/WalletImported', walletId);
go.walletHome();
notification.success('Success', 'Your wallet has been imported correctly');
}