From 21f56805531c4b2954d0aaffa34c83f37ed8f9c0 Mon Sep 17 00:00:00 2001 From: Russell Yanofsky Date: Wed, 2 May 2018 10:02:48 -0400 Subject: [PATCH] Trivial: s/SetBestChain/ChainStateFlushed in comments after #13106 --- src/chainparams.cpp | 2 +- src/init.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/chainparams.cpp b/src/chainparams.cpp index 121d95af9..71762158f 100644 --- a/src/chainparams.cpp +++ b/src/chainparams.cpp @@ -173,7 +173,7 @@ public: // Data as of block 0000000000000000002d6cca6761c99b3c2e936f9a0e304b7c7651a993f461de (height 506081). 1516903077, // * UNIX timestamp of last known number of transactions 295363220, // * total number of transactions between genesis and that timestamp - // (the tx=... number in the SetBestChain debug.log lines) + // (the tx=... number in the ChainStateFlushed debug.log lines) 3.5 // * estimated number of transactions per second after that timestamp }; diff --git a/src/init.cpp b/src/init.cpp index 6423d8702..52b3ba19a 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -242,7 +242,7 @@ void Shutdown() fFeeEstimatesInitialized = false; } - // FlushStateToDisk generates a SetBestChain callback, which we should avoid missing + // FlushStateToDisk generates a ChainStateFlushed callback, which we should avoid missing if (pcoinsTip != nullptr) { FlushStateToDisk(); }