Wallet/src/js/controllers/modals/coinbaseTxDetails.js

18 lines
436 B
JavaScript
Raw Normal View History

'use strict';
angular.module('copayApp.controllers').controller('coinbaseTxDetailsController', function($scope, $rootScope, coinbaseService) {
$scope.remove = function() {
coinbaseService.savePendingTransaction($scope.tx, {
remove: true
}, function(err) {
$rootScope.$emit('Local/CoinbaseTx');
2016-12-19 11:50:49 -03:00
$scope.close();
});
};
2016-12-19 11:50:49 -03:00
$scope.close = function() {
$scope.coinbaseTxDetailsModal.hide();
};
});