From ad39b6337c59e9b9e1de7ea3ec9b588928c2a315 Mon Sep 17 00:00:00 2001 From: tenthirtyone Date: Wed, 16 Aug 2017 02:02:19 -0400 Subject: [PATCH] comment updates --- server/lib/api/transaction.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/lib/api/transaction.js b/server/lib/api/transaction.js index 4cc6306..941de45 100644 --- a/server/lib/api/transaction.js +++ b/server/lib/api/transaction.js @@ -68,7 +68,7 @@ module.exports = function transactionAPI(router) { const pageNum = parseInt(req.query.pageNum) || 0; const rangeStart = pageNum * MAX_TXS; const rangeEnd = rangeStart + MAX_TXS; - // get txs for blockhash + // get txs for blockhash, start with best height to calc confirmations if (req.query.block) { db.blocks.getBestHeight( (err, block) => { @@ -121,7 +121,7 @@ module.exports = function transactionAPI(router) { }); }); } else if (req.query.address) { - // Get txs by address + // Get txs by address, start with best height to calc confirmations db.blocks.getBestHeight( (err, block) => { if (err) {