Fix buy and sell

This commit is contained in:
Gustavo Maximiliano Cortez 2016-12-30 19:08:51 -03:00
commit 1a586f6fcc
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
8 changed files with 268 additions and 228 deletions

View file

@ -26,10 +26,8 @@ angular.module('copayApp.controllers').controller('coinbaseController', function
$scope.updateTransactions = function() {
$log.debug('Getting transactions...');
coinbaseService.getPendingTransactions($scope.accessToken, $scope.accountId, function(err, txs) {
$scope.pendingTransactions = txs;
});
$scope.pendingTransactions = { data: {} };
coinbaseService.getPendingTransactions($scope.pendingTransactions);
};
this.openAuthenticateWindow = function() {