diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-08-16 21:19:53 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-08-17 13:11:52 +0100 |
commit | 5a283078ec3cf276dd085219f4ead51ced969224 (patch) | |
tree | f3b1d4a2ea69fd13941127e7d657ffd731b0429f /src/cryptonote_protocol/cryptonote_protocol_handler.inl | |
parent | cryptonote_protocol: kick idle synchronizing peers (diff) | |
download | monero-5a283078ec3cf276dd085219f4ead51ced969224.tar.xz |
cryptonote_protocol: large block sync size before v4
Diffstat (limited to 'src/cryptonote_protocol/cryptonote_protocol_handler.inl')
-rw-r--r-- | src/cryptonote_protocol/cryptonote_protocol_handler.inl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptonote_protocol/cryptonote_protocol_handler.inl b/src/cryptonote_protocol/cryptonote_protocol_handler.inl index c33670a05..60cce4594 100644 --- a/src/cryptonote_protocol/cryptonote_protocol_handler.inl +++ b/src/cryptonote_protocol/cryptonote_protocol_handler.inl @@ -1286,7 +1286,7 @@ skip: NOTIFY_REQUEST_GET_OBJECTS::request req; bool is_next = false; size_t count = 0; - const size_t count_limit = m_core.get_block_sync_size(); + const size_t count_limit = m_core.get_block_sync_size(m_core.get_current_blockchain_height()); std::pair<uint64_t, uint64_t> span = std::make_pair(0, 0); if (force_next_span) { |