diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2012-06-27 08:06:57 -0700 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2012-06-27 08:06:57 -0700 |
commit | abbb9a829c6a381c7df1041ccfd2adebce86eafe (patch) | |
tree | fd715e14c61d01e7768eb0235099e53b00ffa782 | |
parent | 6c88568fef4d4386e35bc474b1879006f0010ab2 (diff) | |
parent | 757cec9ddde84a6c3caf8c5e015ad042bb20fb61 (diff) | |
download | bitcoin-abbb9a829c6a381c7df1041ccfd2adebce86eafe.tar.xz |
Merge pull request #1347 from rebroad/FixAlreadyAskedFor
mapAlreadyAskedFor gets additions when AlreadyHave()
-rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index f1398e9818..6e55e69106 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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()) |