This commit is contained in:
jl777
2018-04-23 20:04:54 +03:00
parent e450b1ceaf
commit 99dd19d43e

View File

@@ -6700,8 +6700,10 @@ bool SendMessages(CNode* pto, bool fSendTrickle)
}
}
}
CBlockIndex *pindex;
if ( komodo_requestedhash != zero && (pindex= mapBlockIndex[komodo_requestedhash]) != 0 )
{
LogPrint("net","request %s to nodeid.%d\n",komodo_requestedhash.ToString().c_str(),pto->GetId());
fprintf(stderr,"request %s to nodeid.%d\n",komodo_requestedhash.ToString().c_str(),pto->GetId());
vGetData.push_back(CInv(MSG_BLOCK, komodo_requestedhash));
MarkBlockAsInFlight(pto->GetId(), komodo_requestedhash, consensusParams, pindex);