Fix glidera getting token

This commit is contained in:
Gustavo Maximiliano Cortez 2015-09-08 10:17:59 -03:00
commit f574a9d78b
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
5 changed files with 53 additions and 42 deletions

View file

@ -112,7 +112,7 @@ angular.module('copayApp.controllers').controller('sellGlideraController',
glideraService.sell(token, twoFaCode, data, function(err, data) {
self.loading = null;
if (err) {
self.error = gettext('Could not sell bitcoin');
self.error = err;
fc.removeTxProposal(txp, function(err, txpb) {
$timeout(function() {
$scope.$emit('Local/GlideraError');