trivial: comment tweaks
This commit is contained in:
1 parent
32f04e6da9
commit
5179656ef8
2 files changed
+2
-2
No files matched your search
@@ -1517,7 +1517,7 @@ static void SoftForkDescPushBack(const CBlockIndex* active_chain_tip, UniValue&
|
|||||||
}
|
}
|
||||||
|
|
||||||
namespace {
|
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);
|
UniValue DeploymentInfo(const CBlockIndex* tip, const Consensus::Params& consensusParams);
|
||||||
extern const std::vector<RPCResult> RPCHelpForDeployment;
|
extern const std::vector<RPCResult> RPCHelpForDeployment;
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -107,7 +107,7 @@ BIP9Stats AbstractThresholdConditionChecker::GetStateStatisticsFor(const CBlockI
|
|||||||
|
|
||||||
if (pindex == nullptr) return stats;
|
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);
|
int blocks_in_period = 1 + (pindex->nHeight % stats.period);
|
||||||
|
|
||||||
// Reset signalling_blocks
|
// Reset signalling_blocks
|
||||||
|
|||||||
Reference in new issue
Block a user