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();
|
vGetData.clear();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
mapAlreadyAskedFor[inv] = nNow;
|
||||||
pto->mapAskFor.erase(pto->mapAskFor.begin());
|
pto->mapAskFor.erase(pto->mapAskFor.begin());
|
||||||
}
|
}
|
||||||
if (!vGetData.empty())
|
if (!vGetData.empty())
|
||||||
|
|
Loading…
Reference in a new issue