Merge pull request #167 from maraoz/fix/logging

fix logging
This commit is contained in:
Matias Alejo Garcia 2014-08-25 12:49:07 -03:00
commit eb52af5f2a

View File

@ -192,7 +192,7 @@ TransactionDb.prototype._fillOutpoints = function(txInfo, cb) {
async.eachLimit(txInfo.vin, CONCURRENCY, function(i, c_in) {
self.fromTxIdN(i.txid, i.vout, function(err, ret) {
if (!ret || !ret.addr || !ret.valueSat) {
inf('Could not get TXouts in %s,%d from %s ', i.txid, i.vout, txInfo.txid);
logger.info('Could not get TXouts in %s,%d from %s ', i.txid, i.vout, txInfo.txid);
if (ret) i.unconfirmedInput = ret.unconfirmedInput;
incompleteInputs = 1;
return c_in(); // error not scalated