Skip to content

Commit 5179656

Browse files
committed
trivial: comment tweaks
1 parent 32f04e6 commit 5179656

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/rpc/blockchain.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1517,7 +1517,7 @@ static void SoftForkDescPushBack(const CBlockIndex* active_chain_tip, UniValue&
15171517
}
15181518

15191519
namespace {
1520-
/* TODO: when -dprecatedrpc=softforks is removed, drop these */
1520+
/* TODO: when -deprecatedrpc=softforks is removed, drop these */
15211521
UniValue DeploymentInfo(const CBlockIndex* tip, const Consensus::Params& consensusParams);
15221522
extern const std::vector<RPCResult> RPCHelpForDeployment;
15231523
}

src/versionbits.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ BIP9Stats AbstractThresholdConditionChecker::GetStateStatisticsFor(const CBlockI
107107

108108
if (pindex == nullptr) return stats;
109109

110-
// Find beginning of period
110+
// Find how many blocks are in the current period
111111
int blocks_in_period = 1 + (pindex->nHeight % stats.period);
112112

113113
// Reset signalling_blocks

0 commit comments

Comments
 (0)