bitcoin/bitcoin — pull request #4460 by rebroad (2014-07-03 08:35:34+00:00)
Title: Remove tx from AlreadyAskedFor list once we receive it, not when we process it.

I see no reason not to erase this from the list at the point the tx is received. Otherwise the risk is that we continue requesting it from peers. (It will of course get re-added if it's inv is seen and it's not processed, but this is already the case also).