aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2021-10-25 19:02:22 -0500
committerluigi1111 <luigi1111w@gmail.com>2021-10-25 19:02:22 -0500
commitff96482e38a9bc4c91af77f9089991a1fcab2ee3 (patch)
tree66f1363ba753e66902cb2f22952dd84e47fcda42
parentMerge pull request #8011 (diff)
parentprotocol: fix spurious rejection of downloaded blocks (diff)
downloadmonero-ff96482e38a9bc4c91af77f9089991a1fcab2ee3.tar.xz
Merge pull request #8018
1f81f5f protocol: fix spurious rejection of downloaded blocks (moneromooo-monero)
-rw-r--r--src/cryptonote_protocol/cryptonote_protocol_handler.inl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cryptonote_protocol/cryptonote_protocol_handler.inl b/src/cryptonote_protocol/cryptonote_protocol_handler.inl
index 106253082..39d562fd1 100644
--- a/src/cryptonote_protocol/cryptonote_protocol_handler.inl
+++ b/src/cryptonote_protocol/cryptonote_protocol_handler.inl
@@ -153,6 +153,7 @@ namespace cryptonote
context.m_last_request_time = boost::date_time::not_a_date_time;
context.m_expect_response = 0;
context.m_expect_height = 0;
+ context.m_requested_objects.clear();
context.m_state = cryptonote_connection_context::state_standby; // we'll go back to adding, then (if we can't), download
}
else