diff options
author | Alexander Blair <snipa@jagtech.io> | 2020-12-10 17:57:07 -0800 |
---|---|---|
committer | Alexander Blair <snipa@jagtech.io> | 2020-12-10 17:57:07 -0800 |
commit | 575f6b5f137db82ac014148cd6440ac8cdb98033 (patch) | |
tree | 65d1eed862799837f139dcae7a50d5389be420a8 /src | |
parent | Merge pull request #7118 (diff) | |
parent | protocol: fix asking for pruned blocks for v10 (diff) | |
download | monero-575f6b5f137db82ac014148cd6440ac8cdb98033.tar.xz |
Merge pull request #7120
105afa555 protocol: fix asking for pruned blocks for v10 (moneromooo-monero)
Diffstat (limited to 'src')
-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 4e3470068..a60c8f5bb 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 |