Merge pull request #200 from cmgustavo/bug/01genesisblock

fix when get genesis block. tx not found on rpc server
This commit is contained in:
Gustavo Maximiliano Cortez 2014-02-07 18:34:18 -02:00
commit 1b1941e312

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