still no sigsegv yet.
This commit is contained in:
parent
31de749b6c
commit
8aa289003f
|
@ -3576,7 +3576,6 @@ NAN_METHOD(HookPackets) {
|
|||
if (vInv.size() > 0) {
|
||||
o->Set(NanNew<String>("first"), NanNew<String>(vInv[0].ToString().c_str()));
|
||||
}
|
||||
#if 0
|
||||
} else if (strCommand == "getblocks") {
|
||||
CBlockLocator locator;
|
||||
uint256 hashStop;
|
||||
|
@ -3596,6 +3595,7 @@ NAN_METHOD(HookPackets) {
|
|||
o->Set(NanNew<String>("toHash"), NanNew<String>(
|
||||
hashStop == uint256(0) ? "end" : hashStop.GetHex().c_str()));
|
||||
o->Set(NanNew<String>("limit"), NanNew<Number>(500));
|
||||
#if 0
|
||||
} else if (strCommand == "getheaders") {
|
||||
CBlockLocator locator;
|
||||
uint256 hashStop;
|
||||
|
|
Loading…
Reference in New Issue