add outpoints info

This commit is contained in:
Matias Alejo Garcia 2016-02-17 18:53:21 -03:00
parent b3e1eaaa2e
commit a440fbff10

View File

@ -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);
});