Skip to content

Commit

Permalink
Reversion of the removal of cntPartsRcvd decrement and increment
Browse files Browse the repository at this point in the history
  • Loading branch information
jamescowens committed Mar 29, 2024
1 parent 1963bd2 commit 708661b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/gridcoin/scraper/scraper_net.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,13 @@ int CSplitBlob::addPartData(CDataStream&& vData)
{
/* missing data; use the supplied data */
/* prevent calling the Complete callback FIXME: make this look better */
if (cntPartsRcvd > 0) {
cntPartsRcvd--;
}

CSplitBlob::RecvPart(nullptr, vData);

cntPartsRcvd++;
}
return n;
}
Expand Down

0 comments on commit 708661b

Please sign in to comment.