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) { function _sendCoins (toAddress, cryptoAtoms, cryptoCode, cb) {
var walletPlugin = walletPlugins[cryptoCode] var walletPlugin = walletPlugins[cryptoCode]
var transactionFee = cachedConfig.exchanges.settings.transactionFee var transactionFee = cachedConfig.exchanges.settings.transactionFee
logger.debug('Sending coins [%s] to: %s', cryptoCode, toAddress)
if (cryptoCode === 'BTC') { if (cryptoCode === 'BTC') {
walletPlugin.sendBitcoins(toAddress, cryptoAtoms.truncated().toNumber(), transactionFee, cb) walletPlugin.sendBitcoins(toAddress, cryptoAtoms.truncated().toNumber(), transactionFee, cb)
} else { } else {

View file

@ -62,7 +62,7 @@ function poll (req, res) {
pids[fingerprint] = {pid: pid, ts: Date.now()} pids[fingerprint] = {pid: pid, ts: Date.now()}
// logger.debug('poll request from: %s', fingerprint) logger.debug('poll request from: %s', fingerprint)
var rates = {} var rates = {}
var balances = {} var balances = {}