From 004e332290c6398157e1bbb3ba85770c2a49e48a Mon Sep 17 00:00:00 2001 From: Michael Toutonghi Date: Wed, 16 May 2018 01:59:23 -0700 Subject: [PATCH] Additional tests --- src/main.cpp | 2 +- src/primitives/block.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 1dedfd73d..d72f84c3f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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 vHeaders; + vector 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 diff --git a/src/primitives/block.h b/src/primitives/block.h index 09aedbab6..997e7e0e0 100644 --- a/src/primitives/block.h +++ b/src/primitives/block.h @@ -25,7 +25,6 @@ public: static const size_t HEADER_SIZE=4+32+32+32+4+4+32; // excluding Equihash solution static const int32_t CURRENT_VERSION=4; static uint256 (CBlockHeader::*hashFunction)() const; - static void SetHashAlgo(); int32_t nVersion;