fix: add feeMultiplier parameter

This commit is contained in:
Sérgio Salgado 2022-02-03 19:10:19 +00:00
parent 418668d232
commit c838839522
2 changed files with 3 additions and 2 deletions

View file

@ -80,7 +80,7 @@ function sendCoins (account, tx, settings, operatorId, feeMultiplier) {
})
}
function sendCoinsBatch (account, txs, cryptoCode) {
function sendCoinsBatch (account, txs, cryptoCode, feeMultiplier) {
return checkCryptoCode(cryptoCode)
.then(() => calculateFeeDiscount(feeMultiplier))
.then(newFee => fetch('settxfee', [newFee]))