Fix % of the transaction. Show fee level
This commit is contained in:
parent
db62855693
commit
66dc5e1933
2 changed files with 2 additions and 3 deletions
|
|
@ -9,7 +9,7 @@ angular.module('copayApp.controllers').controller('confirmTxController', functio
|
|||
|
||||
this.feeLevel = feeService.feeOpts[feeService.getCurrentFeeLevel()];
|
||||
this.feeAlternativeStr = parseFloat((rateService.toFiat(fee, feeAlternativeIsoCode)).toFixed(2), 10) + ' ' + feeAlternativeIsoCode;
|
||||
this.feeRateStr = (fee / amount * 100).toFixed(2) + '%' ;
|
||||
this.feeRateStr = (fee / (amount + fee) * 100).toFixed(2) + '%' ;
|
||||
};
|
||||
|
||||
this.close = function(cb) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue