Skip to content

Commit

Permalink
Merge pull request #8022
Browse files Browse the repository at this point in the history
6c084e1 protocol: fix spurious rejection of downloaded blocks (moneromooo-monero)
  • Loading branch information
luigi1111 committed Oct 26, 2021
2 parents b2185fe + 6c084e1 commit fce167d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cryptonote_protocol/cryptonote_protocol_handler.inl
Expand Up @@ -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
Expand Down

0 comments on commit fce167d

Please sign in to comment.