Merge pull request #1347 from rebroad/FixAlreadyAskedFor
mapAlreadyAskedFor gets additions when AlreadyHave()
This commit is contained in:
commit
abbb9a829c
1 changed files with 1 additions and 1 deletions
|
@ -3158,8 +3158,8 @@ bool SendMessages(CNode* pto, bool fSendTrickle)
|
|||
pto->PushMessage("getdata", vGetData);
|
||||
vGetData.clear();
|
||||
}
|
||||
mapAlreadyAskedFor[inv] = nNow;
|
||||
}
|
||||
mapAlreadyAskedFor[inv] = nNow;
|
||||
pto->mapAskFor.erase(pto->mapAskFor.begin());
|
||||
}
|
||||
if (!vGetData.empty())
|
||||
|
|
Loading…
Reference in a new issue