fix refresh after send

This commit is contained in:
Matias Alejo Garcia 2015-07-13 13:09:52 -03:00
parent a28c631ff9
commit 0bdb92b583
3 changed files with 3 additions and 2 deletions

View File

@ -253,7 +253,8 @@ angular.module('copayApp.controllers').controller('indexController', function($r
$log.debug('Retrying update... Try:' + tries)
return self.updateAll({
walletStatus: null,
untilItChanges: true
untilItChanges: true,
triggerTxUpdate: opts.triggerTxUpdate,
}, initStatusHash, ++tries);
}, 1400 * tries);
}

View File

@ -32,7 +32,6 @@ angular.module('copayApp.controllers').controller('preferencesFeeController',
configService.set(opts, function(err) {
if (err) console.log(err);
$scope.$emit('Local/UnitSettingUpdated');
});
};

View File

@ -745,6 +745,7 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
profileService.lockFC();
self.setOngoingProcess();
if (err) {
$log.debug('Sign error:', err);
err.message = gettext('The payment was created but could not be signed. Please try again from home screen.') + (err.message ? ' ' + err.message : '');
return cb(err);
}