From 64665d3efee761e7bb119914891817400622da1d Mon Sep 17 00:00:00 2001 From: Ivan Socolsky Date: Tue, 3 May 2016 12:42:04 -0300 Subject: [PATCH] REST endpoint --- lib/expressapp.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/expressapp.js b/lib/expressapp.js index b4f9a08..f64205a 100644 --- a/lib/expressapp.js +++ b/lib/expressapp.js @@ -459,6 +459,7 @@ ExpressApp.prototype.start = function(opts, cb) { var opts = {}; if (req.query.skip) opts.skip = +req.query.skip; if (req.query.limit) opts.limit = +req.query.limit; + if (req.query.includeExtendedInfo == '1') opts.includeExtendedInfo = true; server.getTxHistory(opts, function(err, txs) { if (err) return returnError(err, res, req);