Merge pull request #455 from matiu/opt/sort3

add outpoints info
This commit is contained in:
Ivan Socolsky 2016-02-17 18:54:56 -03:00
commit 2ccb3d218d

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