Merge af0b578041 into merged_master (Bitcoin PR bitcoin/bitcoin#24187)

This commit is contained in:
Byron Hambly 2023-06-30 16:06:00 +00:00
commit fdfefc520a
4 changed files with 44 additions and 44 deletions

View file

@ -118,7 +118,7 @@ BIP9Stats AbstractThresholdConditionChecker::GetStateStatisticsFor(const CBlockI
if (pindex == nullptr) return stats;
// Find beginning of period
// Find how many blocks are in the current period
int blocks_in_period = 1 + (pindex->nHeight % stats.period);
// Reset signalling_blocks