mirror of
https://github.com/dashpay/dash.git
synced 2024-12-28 05:23:01 +01:00
Should only be mapped when the getdata is done.
Without this change, mappings will be created even after AlreadyHave equals true, and will never be erased.
This commit is contained in:
parent
f1e7570755
commit
757cec9ddd
@ -3109,8 +3109,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 New Issue
Block a user