Skip to content

Commit 11adab3

Browse files
committed
Merge #13154: Trivial: s/SetBestChain/ChainStateFlushed in comments after #13106
21f5680 Trivial: s/SetBestChain/ChainStateFlushed in comments after #13106 (Russell Yanofsky) Pull request description: Tree-SHA512: 373896dd73c3ba202739433b22320a4b7ea6dc80ef84547b4ed72c7ae0d6746b109c8b1879359c43374d1816fe384cc31b24b87879ddefe993887140c2f0df9c
2 parents 979150b + 21f5680 commit 11adab3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/chainparams.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ class CMainParams : public CChainParams {
173173
// Data as of block 0000000000000000002d6cca6761c99b3c2e936f9a0e304b7c7651a993f461de (height 506081).
174174
1516903077, // * UNIX timestamp of last known number of transactions
175175
295363220, // * total number of transactions between genesis and that timestamp
176-
// (the tx=... number in the SetBestChain debug.log lines)
176+
// (the tx=... number in the ChainStateFlushed debug.log lines)
177177
3.5 // * estimated number of transactions per second after that timestamp
178178
};
179179

src/init.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ void Shutdown()
242242
fFeeEstimatesInitialized = false;
243243
}
244244

245-
// FlushStateToDisk generates a SetBestChain callback, which we should avoid missing
245+
// FlushStateToDisk generates a ChainStateFlushed callback, which we should avoid missing
246246
if (pcoinsTip != nullptr) {
247247
FlushStateToDisk();
248248
}

0 commit comments

Comments
 (0)