mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-08-28 20:15:28 +02:00
Merge pull request #423 from TheBlueMatt/mapalreadyaskedforfix
Actually use mapAlreadyAskedFor.
This commit is contained in:
@@ -2570,6 +2570,7 @@ bool SendMessages(CNode* pto, bool fSendTrickle)
|
|||||||
vGetData.clear();
|
vGetData.clear();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
mapAlreadyAskedFor[inv] = nNow;
|
||||||
pto->mapAskFor.erase(pto->mapAskFor.begin());
|
pto->mapAskFor.erase(pto->mapAskFor.begin());
|
||||||
}
|
}
|
||||||
if (!vGetData.empty())
|
if (!vGetData.empty())
|
||||||
|
Reference in New Issue
Block a user