fix refresh/fee

This commit is contained in:
Matias Alejo Garcia 2017-06-23 10:24:14 -03:00
commit 5bcc0b072d
No known key found for this signature in database
GPG key ID: 02470DB551277AB3
3 changed files with 6 additions and 6 deletions

View file

@ -567,16 +567,16 @@ angular.module('copayApp.controllers').controller('confirmController', function(
};
scope.hideModal = function(customFeeLevel) {
scope.chooseFeeLevelModal.hide();
$log.debug('Custom fee level choosen:' + customFeeLevel + ' was:' + tx.feeLevel);
if (tx.feeLevel == customFeeLevel)
scope.chooseFeeLevelModal.hide();
return;
tx.feeLevel = customFeeLevel;
updateTx(tx, wallet, {
clearCache: true,
dryRun: true,
}, function() {
scope.chooseFeeLevelModal.hide();
});
};
};