Additional tests

This commit is contained in:
Michael Toutonghi
2018-05-16 01:59:23 -07:00
parent 52670b7205
commit 004e332290
2 changed files with 1 additions and 2 deletions

View File

@@ -6016,7 +6016,7 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv,
}
// must use CBlocks because CBlockHeaders won't include the 0x00 nTx count at the end
vector<CBlock> vHeaders;
vector<CBlockHeader> vHeaders;
int nLimit = MAX_HEADERS_RESULTS;
LogPrint("net", "getheaders %d to %s from peer=%d\n", (pindex ? pindex->nHeight : -1), hashStop.ToString(), pfrom->id);
//if ( pfrom->lasthdrsreq >= chainActive.Height()-MAX_HEADERS_RESULTS || pfrom->lasthdrsreq != (int32_t)(pindex ? pindex->nHeight : -1) )// no need to ever suppress this