From a440fbff10d3f6a147cb0461c0ea59f639b0980e Mon Sep 17 00:00:00 2001 From: Matias Alejo Garcia Date: Wed, 17 Feb 2016 18:53:21 -0300 Subject: [PATCH] add outpoints info --- lib/TransactionDb.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/TransactionDb.js b/lib/TransactionDb.js index 5dd244e..aeec0d2 100644 --- a/lib/TransactionDb.js +++ b/lib/TransactionDb.js @@ -244,10 +244,11 @@ TransactionDb.prototype._getInfo = function(txid, next, opts) { Rpc.getTxInfo(txid, function(err, txInfo) { if (err) return next(err); - if (opts.noExtraInfo) - return next(null,txInfo); self._fillOutpoints(txInfo, function() { + if (opts.noExtraInfo) + return next(null,txInfo); + self._fillSpent(txInfo, function() { return next(null, txInfo); });