add back debug

This commit is contained in:
Josh Harvey 2016-05-22 22:33:58 +03:00
parent bc0a5b9597
commit 70366e139f
2 changed files with 2 additions and 1 deletions

View file

@ -277,6 +277,7 @@ exports.pollQueries = function pollQueries (session, cb) {
function _sendCoins (toAddress, cryptoAtoms, cryptoCode, cb) {
var walletPlugin = walletPlugins[cryptoCode]
var transactionFee = cachedConfig.exchanges.settings.transactionFee
logger.debug('Sending coins [%s] to: %s', cryptoCode, toAddress)
if (cryptoCode === 'BTC') {
walletPlugin.sendBitcoins(toAddress, cryptoAtoms.truncated().toNumber(), transactionFee, cb)
} else {