fixed bch pay pro payment fee calculation
This commit is contained in:
parent
ab5b9ac53c
commit
987bc95767
1 changed files with 2 additions and 1 deletions
|
|
@ -298,7 +298,8 @@ angular.module('copayApp.controllers').controller('confirmController', function(
|
||||||
return cb();
|
return cb();
|
||||||
}
|
}
|
||||||
|
|
||||||
feeService.getFeeRate(wallet.coin, tx.network, usingMerchantFee ? 'urgent' : tx.feeLevel, function(err, feeRate) {
|
var feeServiceLevel = usingMerchantFee && wallet.coin == 'btc' ? 'urgent' : tx.feeLevel;
|
||||||
|
feeService.getFeeRate(wallet.coin, tx.network, feeServiceLevel, function(err, feeRate) {
|
||||||
if (err) {
|
if (err) {
|
||||||
ongoingProcess.set('calculatingFee', false);
|
ongoingProcess.set('calculatingFee', false);
|
||||||
return cb(err);
|
return cb(err);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue