aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2012-06-27 08:06:57 -0700
committerPieter Wuille <pieter.wuille@gmail.com>2012-06-27 08:06:57 -0700
commitabbb9a829c6a381c7df1041ccfd2adebce86eafe (patch)
treefd715e14c61d01e7768eb0235099e53b00ffa782 /src/main.cpp
parent6c88568fef4d4386e35bc474b1879006f0010ab2 (diff)
parent757cec9ddde84a6c3caf8c5e015ad042bb20fb61 (diff)
Merge pull request #1347 from rebroad/FixAlreadyAskedFor
mapAlreadyAskedFor gets additions when AlreadyHave()
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
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())