mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-26 09:24:47 +00:00
protocol: fix asking for pruned blocks for v10
Old format is still alloewd there, this is a two fork update
This commit is contained in:
parent
b7425c14c8
commit
eb77790dfb
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue