still no sigsegv yet.

This commit is contained in:
Christopher Jeffrey 2014-10-22 18:42:23 -07:00
parent 31de749b6c
commit 8aa289003f
1 changed files with 1 additions and 1 deletions

View File

@ -3576,7 +3576,6 @@ NAN_METHOD(HookPackets) {
if (vInv.size() > 0) { if (vInv.size() > 0) {
o->Set(NanNew<String>("first"), NanNew<String>(vInv[0].ToString().c_str())); o->Set(NanNew<String>("first"), NanNew<String>(vInv[0].ToString().c_str()));
} }
#if 0
} else if (strCommand == "getblocks") { } else if (strCommand == "getblocks") {
CBlockLocator locator; CBlockLocator locator;
uint256 hashStop; uint256 hashStop;
@ -3596,6 +3595,7 @@ NAN_METHOD(HookPackets) {
o->Set(NanNew<String>("toHash"), NanNew<String>( o->Set(NanNew<String>("toHash"), NanNew<String>(
hashStop == uint256(0) ? "end" : hashStop.GetHex().c_str())); hashStop == uint256(0) ? "end" : hashStop.GetHex().c_str()));
o->Set(NanNew<String>("limit"), NanNew<Number>(500)); o->Set(NanNew<String>("limit"), NanNew<Number>(500));
#if 0
} else if (strCommand == "getheaders") { } else if (strCommand == "getheaders") {
CBlockLocator locator; CBlockLocator locator;
uint256 hashStop; uint256 hashStop;