Merge pull request #4263 from JDonadio/fix/deleting-wallet

Fix deleting wallet
This commit is contained in:
Matias Alejo Garcia 2016-05-30 10:01:00 -03:00
commit 5b3ef6e0cb

View file

@ -356,6 +356,7 @@ angular.module('copayApp.services')
pushNotificationsService.unsubscribe(root.getClient(walletId), function(err) { pushNotificationsService.unsubscribe(root.getClient(walletId), function(err) {
if (err) $log.warn('Unsubscription error: ' + err.message); if (err) $log.warn('Unsubscription error: ' + err.message);
else $log.debug('Unsubscribed from push notifications service'); else $log.debug('Unsubscribed from push notifications service');
});
$log.debug('Deleting Wallet:', fc.credentials.walletName); $log.debug('Deleting Wallet:', fc.credentials.walletName);
@ -388,7 +389,6 @@ angular.module('copayApp.services')
}); });
}); });
}); });
});
}; };
root.setMetaData = function(walletClient, addressBook, historyCache, cb) { root.setMetaData = function(walletClient, addressBook, historyCache, cb) {