test fromHex.

This commit is contained in:
Christopher Jeffrey 2014-10-23 13:21:25 -07:00
parent d1d9396d3d
commit 7fab896ead

View File

@ -113,11 +113,12 @@ bitcoind.on('open', function(status) {
}); });
} }
bitcoind.on('parsed', function(packet) { // test tx:
bitcoind.log(packet); // return bitcoind.log(bitcoind.tx.fromHex(testTx));
});
return; return bitcoind.on('parsed', function(packet) {
return bitcoind.log(packet);
});
argv['on-block'] = true; argv['on-block'] = true;
setTimeout(function() { setTimeout(function() {