Wallet/src/js/controllers/modals/coinbaseTxDetails.js
Gustavo Maximiliano Cortez 612d706779
Complete buying flow
2017-01-16 20:07:04 -03:00

18 lines
436 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.close();
});
};
$scope.close = function() {
$scope.coinbaseTxDetailsModal.hide();
};
});