18 lines
438 B
JavaScript
18 lines
438 B
JavaScript
'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');
|
|
$scope.cancel();
|
|
});
|
|
};
|
|
|
|
$scope.cancel = function() {
|
|
$scope.coinbaseTxDetailsModal.hide();
|
|
};
|
|
|
|
});
|