diff options
author | luigi1111 <luigi1111w@gmail.com> | 2021-10-25 19:03:13 -0500 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2021-10-25 19:03:13 -0500 |
commit | fce167d7cc53bb65fa13a6326464924c1d547dff (patch) | |
tree | e0cf1bf530c63f2e85823c507ec62ff51cec2af9 /src | |
parent | Merge pull request #8007 (diff) | |
parent | protocol: fix spurious rejection of downloaded blocks (diff) | |
download | monero-fce167d7cc53bb65fa13a6326464924c1d547dff.tar.xz |
Merge pull request #8022
6c084e1 protocol: fix spurious rejection of downloaded blocks (moneromooo-monero)
Diffstat (limited to 'src')
-rw-r--r-- | src/cryptonote_protocol/cryptonote_protocol_handler.inl | 1 |
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 6dc6bf274..719f9dde9 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 |