Fix fee levels for btc and bch
This commit is contained in:
parent
491aef0acf
commit
70fa50177c
12 changed files with 20 additions and 23 deletions
|
|
@ -170,7 +170,7 @@ angular.module('copayApp.services').factory('coinbaseService', function($http, $
|
|||
var _getNetAmount = function(amount, cb) {
|
||||
// Fee Normal for a single transaction (450 bytes)
|
||||
var txNormalFeeKB = 450 / 1000;
|
||||
feeService.getFeeRate(null, 'normal', function(err, feePerKb) {
|
||||
feeService.getFeeRate('btc', 'livenet', 'normal', function(err, feePerKb) {
|
||||
if (err) return cb(err);
|
||||
var feeBTC = (feePerKb * txNormalFeeKB / 100000000).toFixed(8);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue