add back debug
This commit is contained in:
parent
bc0a5b9597
commit
70366e139f
2 changed files with 2 additions and 1 deletions
|
|
@ -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 {
|
||||||
|
|
|
||||||
|
|
@ -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 = {}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue