From 351bbd2eae67d8cab6c31c5cc0db118a859c8340 Mon Sep 17 00:00:00 2001 From: Michael Toutonghi Date: Wed, 16 May 2018 05:50:57 -0700 Subject: [PATCH] more testing --- src/main.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index e44c13e93..42bf94864 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -6024,6 +6024,9 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv, pfrom->lasthdrsreq = (int32_t)(pindex ? pindex->nHeight : -1); for (; pindex; pindex = chainActive.Next(pindex)) { + CBlockHeader h = pindex->GetBlockHeader(); + // we seem to be off by one, see if adding one to solution addresses the problem + h.nSolution.push_back(0); vHeaders.push_back(pindex->GetBlockHeader()); if (--nLimit <= 0 || pindex->GetBlockHash() == hashStop) break;