mirror of
https://github.com/monero-project/monero.git
synced 2024-12-23 20:19:34 +00:00
Merge pull request #7114
eb77790df
protocol: fix asking for pruned blocks for v10 (moneromooo-monero)
This commit is contained in:
commit
bb6d2d4b05
1 changed files with 1 additions and 1 deletions
|
@ -1997,7 +1997,7 @@ skip:
|
||||||
if (local_stripe == 0)
|
if (local_stripe == 0)
|
||||||
return false;
|
return false;
|
||||||
// don't request pre-bulletprooof pruned blocks, we can't reconstruct their weight (yet)
|
// 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)
|
if (first_block_height < bp_fork_height)
|
||||||
return false;
|
return false;
|
||||||
// assumes the span size is less or equal to the stripe size
|
// assumes the span size is less or equal to the stripe size
|
||||||
|
|
Loading…
Reference in a new issue