fix when get genesis block. tx not found on rpc server

This commit is contained in:
Gustavo Cortez 2014-02-07 17:39:39 -03:00
parent e2155fe0bc
commit 961cff5eca
1 changed files with 5 additions and 3 deletions

View File

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