Skip to content

Commit

Permalink
Merge pull request #335 from matiu/feat/unconfirmed-inputs
Browse files Browse the repository at this point in the history
add unconfirmed inputs banner
  • Loading branch information
cmgustavo committed Jul 10, 2015
2 parents 401003c + 9114d8e commit 2709031
Show file tree
Hide file tree
Showing 4 changed files with 187 additions and 130 deletions.
9 changes: 7 additions & 2 deletions app/controllers/transactions.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,15 @@ exports.transaction = function(req, res, next, txid) {
tDb.fromIdWithInfo(txid, function(err, tx) {
if (err || ! tx)
return common.handleErrors(err, res);
else {

bdb.fillVinConfirmations(tx.info, function(err) {
if (err)
return common.handleErrors(err, res);

req.transaction = tx.info;
return next();
}
});

});
};

Expand Down
Loading

0 comments on commit 2709031

Please sign in to comment.