diff options
author | fanquake <fanquake@gmail.com> | 2021-10-20 13:13:44 +0800 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2021-10-20 13:28:28 +0800 |
commit | 0ccf9b2e5594581deef2f60174c3651a57f93b64 (patch) | |
tree | 6e20dae40e31f62b77b3806dd64717039e5073ea /src/policy | |
parent | a7f28af4372a9d6ebe1c596ec455cbeac703f69d (diff) | |
parent | a0efe529e4fd053b890450413b9ca5e1bcd8f2c2 (diff) |
Merge bitcoin/bitcoin#23258: doc: Fix outdated comments referring to ::ChainActive()
a0efe529e4fd053b890450413b9ca5e1bcd8f2c2 Fix outdated comments referring to ::ChainActive() (Samuel Dobson)
Pull request description:
After #21866 there are a few outdated comments referring to `::ChainActive()`, which should instead refer to `ChainstateManager::ActiveChain()`.
ACKs for top commit:
jamesob:
ACK https://github.com/bitcoin/bitcoin/pull/23258/commits/a0efe529e4fd053b890450413b9ca5e1bcd8f2c2
Tree-SHA512: 80da19c105ed29ac247e6df4c8e916c3bf3f37230b63f07302114eef9c115add673e9649f0bbe237295be0c6da7b1030b5b93e14daf6768f17ce5de7cf2c9ff2
Diffstat (limited to 'src/policy')
-rw-r--r-- | src/policy/fees.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/policy/fees.cpp b/src/policy/fees.cpp index 850b4f0439..d8c21bd833 100644 --- a/src/policy/fees.cpp +++ b/src/policy/fees.cpp @@ -549,7 +549,7 @@ void CBlockPolicyEstimator::processTransaction(const CTxMemPoolEntry& entry, boo if (txHeight != nBestSeenHeight) { // Ignore side chains and re-orgs; assuming they are random they don't // affect the estimate. We'll potentially double count transactions in 1-block reorgs. - // Ignore txs if BlockPolicyEstimator is not in sync with ::ChainActive().Tip(). + // Ignore txs if BlockPolicyEstimator is not in sync with ActiveChain().Tip(). // It will be synced next time a block is processed. return; } |