tx not causing a segfault.

This commit is contained in:
Christopher Jeffrey 2014-10-22 18:46:20 -07:00
parent c16c7d262a
commit 7e43364f8d
1 changed files with 1 additions and 1 deletions

View File

@ -3621,7 +3621,6 @@ NAN_METHOD(HookPackets) {
o->Set(NanNew<String>("fromHeight"), NanNew<Number>(pindex ? pindex->nHeight : -1));
o->Set(NanNew<String>("toHash"), NanNew<String>(hashStop.GetHex().c_str()));
#if 0
} else if (strCommand == "tx") {
// XXX Potentially check for "reject" in original code
CTransaction tx;
@ -3630,6 +3629,7 @@ NAN_METHOD(HookPackets) {
ctx_to_jstx(tx, 0, jstx);
// ctx_to_jstx(tx, 0, o);
o->Set(NanNew<String>("tx"), jstx);
#if 0
} else if (strCommand == "block") { // && !fImporting && !fReindex) {
CBlock block;
*cur->vRecv >> block;