mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-23 03:13:28 +01:00
Merge pull request #8018
1f81f5f
protocol: fix spurious rejection of downloaded blocks (moneromooo-monero)
This commit is contained in:
commit
ff96482e38
@ -153,6 +153,7 @@ namespace cryptonote
|
|||||||
context.m_last_request_time = boost::date_time::not_a_date_time;
|
context.m_last_request_time = boost::date_time::not_a_date_time;
|
||||||
context.m_expect_response = 0;
|
context.m_expect_response = 0;
|
||||||
context.m_expect_height = 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
|
context.m_state = cryptonote_connection_context::state_standby; // we'll go back to adding, then (if we can't), download
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user