add checksum on close

This commit is contained in:
Ivan Socolsky 2015-01-07 19:59:35 -03:00
commit 5255d4ba31
2 changed files with 22 additions and 9 deletions

View file

@ -322,12 +322,8 @@ angular.module('copayApp.services')
root.signout = function() {
$rootScope.signingOut = true;
if ($rootScope.iden) {
$rootScope.iden.store({
noWallets: true
}, function() {
$rootScope.signingOut = false;
$rootScope.iden.close(); // Will trigger 'closed'
});
$rootScope.signingOut = false;
$rootScope.iden.close(); // Will trigger 'closed'
}
};