WIP send max fixes

This commit is contained in:
Matias Alejo Garcia 2015-08-11 17:11:40 -03:00
commit 48d6b78667
4 changed files with 39 additions and 16 deletions

View file

@ -714,6 +714,10 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
};
};
this.setFee = function(level) {
this.currentSendFeeLevel = level;
};
this.submitForm = function() {
var fc = profileService.focusedClient;
var unitToSat = this.unitToSatoshi;
@ -748,6 +752,7 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
feeService.getCurrentFeeValue(self.currentSendFeeLevel, function(err, feePerKb) {
if (err) $log.debug(err);
console.log('[walletHome.js.757:amount:]',amount, feePerKb); //TODO
fc.sendTxProposal({
toAddress: address,
amount: amount,