add purge to tx prosposals
This commit is contained in:
parent
60d81e6b9f
commit
4931c9d618
6 changed files with 114 additions and 6 deletions
|
|
@ -24,6 +24,12 @@ angular.module('copayApp.controllers').controller('MoreController',
|
|||
});
|
||||
};
|
||||
|
||||
$scope.purge = function(deleteAll) {
|
||||
var w = $rootScope.wallet;
|
||||
var removed = w.purgeTxProposals(deleteAll);
|
||||
notification.info('Tx Proposals Purged', removed + ' transactions proposals were purged');
|
||||
};
|
||||
|
||||
$scope.updateIndexes = function() {
|
||||
var w = $rootScope.wallet;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue