From c68f7cd0be2a375e8ad32fab3f15f510728242de Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Wed, 22 Oct 2014 18:56:11 -0700 Subject: [PATCH] "pong" not causing segfault. --- src/bitcoindjs.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bitcoindjs.cc b/src/bitcoindjs.cc index d60d097b..cdb1147a 100644 --- a/src/bitcoindjs.cc +++ b/src/bitcoindjs.cc @@ -3656,7 +3656,6 @@ NAN_METHOD(HookPackets) { assert(written == 20); o->Set(NanNew("nonce"), NanNew(sNonce)); } -#if 0 } else if (strCommand == "pong") { int64_t pingUsecEnd = cur->nTimeReceived; uint64_t nonce = 0; @@ -3719,6 +3718,7 @@ NAN_METHOD(HookPackets) { } else { o->Set(NanNew("finished"), NanNew(false)); } +#if 0 } else if (strCommand == "alert") { CAlert alert; *cur->vRecv >> alert;