This commit is contained in:
Matias Alejo Garcia 2017-11-13 21:56:06 -03:00
parent 3718493277
commit 391898a06e
No known key found for this signature in database
GPG Key ID: 02470DB551277AB3
3 changed files with 6 additions and 3 deletions

View File

@ -54,7 +54,7 @@ var config = {
bch: {
livenet: {
provider: 'insight',
url: 'https://cashexplorer.bitcoin.com',
url: 'http://localhost:3001',
},
},
},

View File

@ -45,9 +45,11 @@ Insight.prototype._doRequest = function(args, cb) {
};
var s = JSON.stringify(args);
if ( s.length > 100 )
s= s.substr(0,100) + '...';
// if ( s.length > 100 )
// s= s.substr(0,100) + '...';
log.debug('', 'Insight Q: %s', s);
console.log('[insight.js.51]'); //TODO
requestList(_.defaults(args, opts), cb);
};

View File

@ -60,6 +60,7 @@ var requestList = function(args, cb) {
}
result = [err, res, body];
console.log('[request-list.js.62:body:]',body); //TODO
return a_cb();
});
},