mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-25 10:43:19 -03:00
trivial: comment tweaks
This commit is contained in:
parent
32f04e6da9
commit
5179656ef8
2 changed files with 2 additions and 2 deletions
|
@ -1517,7 +1517,7 @@ static void SoftForkDescPushBack(const CBlockIndex* active_chain_tip, UniValue&
|
|||
}
|
||||
|
||||
namespace {
|
||||
/* TODO: when -dprecatedrpc=softforks is removed, drop these */
|
||||
/* TODO: when -deprecatedrpc=softforks is removed, drop these */
|
||||
UniValue DeploymentInfo(const CBlockIndex* tip, const Consensus::Params& consensusParams);
|
||||
extern const std::vector<RPCResult> RPCHelpForDeployment;
|
||||
}
|
||||
|
|
|
@ -107,7 +107,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
Reference in a new issue