mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-25 18:53:23 -03:00
Merge pull request #423 from TheBlueMatt/mapalreadyaskedforfix
Actually use mapAlreadyAskedFor.
This commit is contained in:
commit
c2da35319d
1 changed files with 1 additions and 0 deletions
|
@ -2570,6 +2570,7 @@ bool SendMessages(CNode* pto, bool fSendTrickle)
|
|||
vGetData.clear();
|
||||
}
|
||||
}
|
||||
mapAlreadyAskedFor[inv] = nNow;
|
||||
pto->mapAskFor.erase(pto->mapAskFor.begin());
|
||||
}
|
||||
if (!vGetData.empty())
|
||||
|
|
Loading…
Add table
Reference in a new issue