mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-06-29 10:19:26 +02:00
Revert "Actually use mapAlreadyAskedFor."
This reverts commit 643160f6e7
.
Turns out this commit was useless after a more careful reading of
CNode::AskFor
This commit is contained in:
@ -3994,7 +3994,6 @@ bool SendMessages(CNode* pto, bool fSendTrickle)
|
|||||||
pto->PushMessage("getdata", vGetData);
|
pto->PushMessage("getdata", vGetData);
|
||||||
vGetData.clear();
|
vGetData.clear();
|
||||||
}
|
}
|
||||||
mapAlreadyAskedFor[inv] = nNow;
|
|
||||||
}
|
}
|
||||||
pto->mapAskFor.erase(pto->mapAskFor.begin());
|
pto->mapAskFor.erase(pto->mapAskFor.begin());
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user