diff options
author | Alexander Blair <snipa@jagtech.io> | 2020-12-10 17:42:48 -0800 |
---|---|---|
committer | Alexander Blair <snipa@jagtech.io> | 2020-12-10 17:42:48 -0800 |
commit | bb6d2d4b05c90e360ab66121abac5adc8d27d879 (patch) | |
tree | a5c0ffaade963dc955ea0dcab9041619d00766e0 | |
parent | Merge pull request #7110 (diff) | |
parent | protocol: fix asking for pruned blocks for v10 (diff) | |
download | monero-bb6d2d4b05c90e360ab66121abac5adc8d27d879.tar.xz |
Merge pull request #7114
eb77790df protocol: fix asking for pruned blocks for v10 (moneromooo-monero)
-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 bf7b061d9..a4a433861 100644 --- a/src/cryptonote_protocol/cryptonote_protocol_handler.inl +++ b/src/cryptonote_protocol/cryptonote_protocol_handler.inl @@ -1997,7 +1997,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 |