diff --git a/app/controllers/transactions.js b/app/controllers/transactions.js index 94d2ba3..b4c9379 100644 --- a/app/controllers/transactions.js +++ b/app/controllers/transactions.js @@ -43,7 +43,13 @@ var getTransaction = function(txid, cb) { return cb(err); } - if (!tx) return cb(new Error('Transaction not found')); + if (!tx) { +console.log('[transactions.js.48]:: TXid %d not found in RPC. CHECK THIS.', txid); //TODO + // not check this. no + tx.info = { + txid: txid, + }; + } return cb(null, tx.info); });