From 0345ba15906ee30ba31b5e5bcb9ad1fd69e50964 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Wed, 22 Oct 2014 16:36:49 -0700 Subject: [PATCH] "tx" packet compiling. --- src/bitcoindjs.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bitcoindjs.cc b/src/bitcoindjs.cc index cac20d76..54387bec 100644 --- a/src/bitcoindjs.cc +++ b/src/bitcoindjs.cc @@ -3621,7 +3621,6 @@ NAN_METHOD(HookPackets) { o->Set(NanNew("fromHeight"), NanNew(pindex ? pindex->nHeight : -1)); o->Set(NanNew("toHash"), NanNew(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("tx"), jstx); +#if 0 } else if (strCommand == "block") { // && !fImporting && !fReindex) { CBlock block; *cur->vRecv >> block;