diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2020-12-10 18:10:45 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2020-12-10 18:10:45 +0000 |
commit | eb77790dfb67b77e8a6d5880b0122af67ddd9de7 (patch) | |
tree | 1812fb7dac883893141898f7bf7910f0b4af7990 /src/cryptonote_protocol | |
parent | Merge pull request #7072 (diff) | |
download | monero-eb77790dfb67b77e8a6d5880b0122af67ddd9de7.tar.xz |
protocol: fix asking for pruned blocks for v10
Old format is still alloewd there, this is a two fork update
Diffstat (limited to 'src/cryptonote_protocol')
-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 25b14d903..7766eed7a 100644 --- a/src/cryptonote_protocol/cryptonote_protocol_handler.inl +++ b/src/cryptonote_protocol/cryptonote_protocol_handler.inl @@ -1992,7 +1992,7 @@ skip: if (local_stripe == 0) return false; // don't request pre-bulletprooof pruned blocks, we can't reconstruct their weight (yet) - static const uint64_t bp_fork_height = m_core.get_earliest_ideal_height_for_version(HF_VERSION_SMALLER_BP); + static const uint64_t bp_fork_height = m_core.get_earliest_ideal_height_for_version(HF_VERSION_SMALLER_BP + 1); if (first_block_height < bp_fork_height) return false; // assumes the span size is less or equal to the stripe size |