From 961cff5ecac52c0392e471fa28d01ce0597af342 Mon Sep 17 00:00:00 2001 From: Gustavo Cortez Date: Fri, 7 Feb 2014 17:39:39 -0300 Subject: [PATCH] fix when get genesis block. tx not found on rpc server --- app/controllers/transactions.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/app/controllers/transactions.js b/app/controllers/transactions.js index e69b76d..a86f71e 100644 --- a/app/controllers/transactions.js +++ b/app/controllers/transactions.js @@ -50,10 +50,12 @@ var getTransaction = function(txid, cb) { } if (!tx || !tx.info) { -console.log('[transactions.js.48]:: TXid %s not found in RPC. CHECK THIS.', tx.txid); //TODO +console.log('[transactions.js.48]:: TXid %s not found in RPC. CHECK THIS.', txid); //TODO // not check this. no - tx.info = { - txid: tx.txid + tx = { + info: { + txid: txid + } }; }