rule out segfault. so far, so good.

This commit is contained in:
Christopher Jeffrey 2014-10-22 18:35:47 -07:00
parent c2041a05ce
commit 7eea05c71d
1 changed files with 2 additions and 0 deletions

View File

@ -3517,6 +3517,7 @@ NAN_METHOD(HookPackets) {
}
o->Set(NanNew<String>("addresses"), array);
#if 0
} else if (strCommand == "inv") {
vector<CInv> vInv;
*cur->vRecv >> vInv;
@ -3803,6 +3804,7 @@ NAN_METHOD(HookPackets) {
; // nothing much to grab from this packet
} else if (strCommand == "reject") {
; // nothing much to grab from this packet
#endif
} else {
o->Set(NanNew<String>("unknown"), NanNew<Boolean>(true));
}