Skip to content

Commit 9e72a05

Browse files
stariusjanus
authored andcommitted
txmempool: fix typos in comments
1 parent 0f7f398 commit 9e72a05

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/txmempool.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ void CTxMemPool::Apply(ChangeSet* changeset)
442442
std::optional<CTxMemPool::setEntries> ancestors;
443443
if (i == 0) {
444444
// Note: ChangeSet::CalculateMemPoolAncestors() will return a
445-
// cached value if mempool ancestors for this tranaction were
445+
// cached value if mempool ancestors for this transaction were
446446
// previously calculated.
447447
// We can only use a cached ancestor calculation for the first
448448
// transaction in a package, because in-package parents won't be

src/txmempool.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -808,7 +808,7 @@ class CTxMemPool
808808
* mempool.
809809
*
810810
* CalculateMemPoolAncestors() calculates the in-mempool (not including
811-
* what is in the change set itself) ancestors of a given transacion.
811+
* what is in the change set itself) ancestors of a given transaction.
812812
*
813813
* Apply() will apply the removals and additions that are staged into the
814814
* mempool.

0 commit comments

Comments
 (0)