From 6f8b8c67cc8d4fec72d4a952ffe651fdb240f30e Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Wed, 22 Oct 2014 18:49:32 -0700 Subject: [PATCH] "block" causes segfault. --- src/bitcoindjs.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/bitcoindjs.cc b/src/bitcoindjs.cc index d615d0a1..3cd6639b 100644 --- a/src/bitcoindjs.cc +++ b/src/bitcoindjs.cc @@ -3637,10 +3637,12 @@ NAN_METHOD(HookPackets) { cblock_to_jsblock(block, 0, jsblock); // cblock_to_jsblock(block, 0, o); o->Set(NanNew("block"), jsblock); +#endif } else if (strCommand == "getaddr") { ; // not much other information in getaddr as long as we know we got a getaddr } else if (strCommand == "mempool") { ; // not much other information in getaddr as long as we know we got a getaddr +#if 0 } else if (strCommand == "ping") { if (cur->pfrom->nVersion > BIP0031_VERSION) { uint64_t nonce = 0;