mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-24 18:23:26 -03:00
txmempool: fix typos in comments
This commit is contained in:
parent
228aba2c4d
commit
34e8ee23b8
2 changed files with 2 additions and 2 deletions
|
@ -442,7 +442,7 @@ void CTxMemPool::Apply(ChangeSet* changeset)
|
||||||
std::optional<CTxMemPool::setEntries> ancestors;
|
std::optional<CTxMemPool::setEntries> ancestors;
|
||||||
if (i == 0) {
|
if (i == 0) {
|
||||||
// Note: ChangeSet::CalculateMemPoolAncestors() will return a
|
// Note: ChangeSet::CalculateMemPoolAncestors() will return a
|
||||||
// cached value if mempool ancestors for this tranaction were
|
// cached value if mempool ancestors for this transaction were
|
||||||
// previously calculated.
|
// previously calculated.
|
||||||
// We can only use a cached ancestor calculation for the first
|
// We can only use a cached ancestor calculation for the first
|
||||||
// transaction in a package, because in-package parents won't be
|
// transaction in a package, because in-package parents won't be
|
||||||
|
|
|
@ -810,7 +810,7 @@ public:
|
||||||
* mempool.
|
* mempool.
|
||||||
*
|
*
|
||||||
* CalculateMemPoolAncestors() calculates the in-mempool (not including
|
* CalculateMemPoolAncestors() calculates the in-mempool (not including
|
||||||
* what is in the change set itself) ancestors of a given transacion.
|
* what is in the change set itself) ancestors of a given transaction.
|
||||||
*
|
*
|
||||||
* Apply() will apply the removals and additions that are staged into the
|
* Apply() will apply the removals and additions that are staged into the
|
||||||
* mempool.
|
* mempool.
|
||||||
|
|
Loading…
Add table
Reference in a new issue