diff --git a/app/models/Transaction.js b/app/models/Transaction.js index 61c06050..7f6014eb 100644 --- a/app/models/Transaction.js +++ b/app/models/Transaction.js @@ -46,10 +46,10 @@ TransactionSchema.statics.fromId = function(txid, cb) { }).exec(cb); }; + TransactionSchema.statics.fromIdWithInfo = function(txid, cb) { // TODO Should we go to mongoDB first? Now, no extra information is stored at mongo. - this.fromId(txid, function(err, tx) { if (err) return cb(err);