mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
Merge af0b578041 into merged_master (Bitcoin PR bitcoin/bitcoin#24187)
This commit is contained in:
commit
fdfefc520a
4 changed files with 44 additions and 44 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue