fix return and comment

This commit is contained in:
Javier 2015-10-30 14:46:46 -03:00
commit d28b345e65
2 changed files with 5 additions and 2 deletions

View file

@ -96,7 +96,10 @@ angular.module('copayApp.controllers').controller('preferencesInformation',
this.clearTransactionHistory = function() {
storageService.removeTxHistory(c.walletId, function(err) {
if (err) return $log.err(err);
if (err) {
$log.err(err);
return;
}
$scope.$emit('Local/ClearHistory');