chore: fix the fee amount on sendCoinsBatch
This commit is contained in:
parent
ac2b3f1d80
commit
ba39052970
1 changed files with 1 additions and 1 deletions
|
|
@ -95,7 +95,7 @@ function sendCoins (account, tx, settings, operatorId, feeMultiplier) {
|
|||
function sendCoinsBatch (account, txs, cryptoCode, feeMultiplier) {
|
||||
return checkCryptoCode(cryptoCode)
|
||||
.then(() => calculateFeeDiscount(feeMultiplier))
|
||||
.then(newFee => fetch('settxfee', [newFee]))
|
||||
.then(newFee => fetch('settxfee', [newFee.toNumber()]))
|
||||
.then(() => _.reduce((acc, value) => ({
|
||||
...acc,
|
||||
[value.toAddress]: _.isNil(acc[value.toAddress])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue