"block" causes segfault.
This commit is contained in:
parent
7e43364f8d
commit
6f8b8c67cc
|
@ -3637,10 +3637,12 @@ NAN_METHOD(HookPackets) {
|
||||||
cblock_to_jsblock(block, 0, jsblock);
|
cblock_to_jsblock(block, 0, jsblock);
|
||||||
// cblock_to_jsblock(block, 0, o);
|
// cblock_to_jsblock(block, 0, o);
|
||||||
o->Set(NanNew<String>("block"), jsblock);
|
o->Set(NanNew<String>("block"), jsblock);
|
||||||
|
#endif
|
||||||
} else if (strCommand == "getaddr") {
|
} else if (strCommand == "getaddr") {
|
||||||
; // not much other information in getaddr as long as we know we got a getaddr
|
; // not much other information in getaddr as long as we know we got a getaddr
|
||||||
} else if (strCommand == "mempool") {
|
} else if (strCommand == "mempool") {
|
||||||
; // not much other information in getaddr as long as we know we got a getaddr
|
; // not much other information in getaddr as long as we know we got a getaddr
|
||||||
|
#if 0
|
||||||
} else if (strCommand == "ping") {
|
} else if (strCommand == "ping") {
|
||||||
if (cur->pfrom->nVersion > BIP0031_VERSION) {
|
if (cur->pfrom->nVersion > BIP0031_VERSION) {
|
||||||
uint64_t nonce = 0;
|
uint64_t nonce = 0;
|
||||||
|
|
Loading…
Reference in New Issue