diff options
author | luigi1111 <luigi1111w@gmail.com> | 2021-10-25 19:02:22 -0500 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2021-10-25 19:02:22 -0500 |
commit | ff96482e38a9bc4c91af77f9089991a1fcab2ee3 (patch) | |
tree | 66f1363ba753e66902cb2f22952dd84e47fcda42 /src | |
parent | Merge pull request #8011 (diff) | |
parent | protocol: fix spurious rejection of downloaded blocks (diff) | |
download | monero-ff96482e38a9bc4c91af77f9089991a1fcab2ee3.tar.xz |
Merge pull request #8018
1f81f5f 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 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 |