diff --git a/lib/plugins/wallet/bitcoind/bitcoind.js b/lib/plugins/wallet/bitcoind/bitcoind.js index dd07b1a9..24c24381 100644 --- a/lib/plugins/wallet/bitcoind/bitcoind.js +++ b/lib/plugins/wallet/bitcoind/bitcoind.js @@ -65,10 +65,7 @@ function sendCoins (account, tx, settings, operatorId, feeMultiplier) { return checkCryptoCode(cryptoCode) .then(() => calculateFeeDiscount(feeMultiplier)) - .then(newFee => { - logger.info('** DEBUG MINERS FEE ** - Calculated fee discount: ', newFee) - return fetch('settxfee', [newFee]) - }) + .then(newFee => fetch('settxfee', [newFee])) .then(() => fetch('sendtoaddress', [toAddress, coins])) .then((txId) => fetch('gettransaction', [txId])) .then((res) => _.pick(['fee', 'txid'], res)) @@ -87,10 +84,7 @@ function sendCoins (account, tx, settings, operatorId, feeMultiplier) { function sendCoinsBatch (account, txs, cryptoCode, feeMultiplier) { return checkCryptoCode(cryptoCode) .then(() => calculateFeeDiscount(feeMultiplier)) - .then(newFee => { - logger.info('** DEBUG MINERS FEE ** - Calculated fee discount: ', newFee) - return fetch('settxfee', [newFee]) - }) + .then(newFee => fetch('settxfee', [newFee])) .then(() => _.reduce((acc, value) => ({ ...acc, [value.toAddress]: _.isNil(acc[value.toAddress]) diff --git a/lib/wallet.js b/lib/wallet.js index d190e5da..8e2eecde 100644 --- a/lib/wallet.js +++ b/lib/wallet.js @@ -63,7 +63,6 @@ function sendCoins (settings, tx) { return fetchWallet(settings, tx.cryptoCode) .then(r => { const feeMultiplier = new BN(configManager.getWalletSettings(tx.cryptoCode, settings.config).feeMultiplier) - console.log('** DEBUG MINERS FEE ** - Fee multiplier: ', feeMultiplier) return r.wallet.sendCoins(r.account, tx, settings, r.operatorId, feeMultiplier) .then(res => { mem.clear(module.exports.balance)