trivial: comment tweaks

This commit is contained in:
Anthony Towns committed 2022-01-28 18:07:08 +10:00
1 parent 32f04e6da9
commit 5179656ef8
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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;
}
+1 -1
View File
@@ -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