We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2f2b85 commit e16f5b4Copy full SHA for e16f5b4
1 file changed
src/main.cpp
@@ -331,8 +331,10 @@ void FinalizeNode(NodeId nodeid) {
331
AddressCurrentlyConnected(state->address);
332
}
333
334
- BOOST_FOREACH(const QueuedBlock& entry, state->vBlocksInFlight)
+ BOOST_FOREACH(const QueuedBlock& entry, state->vBlocksInFlight) {
335
+ nQueuedValidatedHeaders -= entry.fValidatedHeaders;
336
mapBlocksInFlight.erase(entry.hash);
337
+ }
338
EraseOrphansFor(nodeid);
339
nPreferredDownload -= state->fPreferredDownload;
340
0 commit comments