diff --git a/src/txmempool.cpp b/src/txmempool.cpp index 950004044ee..3a5a3fb306d 100644 --- a/src/txmempool.cpp +++ b/src/txmempool.cpp @@ -442,7 +442,7 @@ void CTxMemPool::Apply(ChangeSet* changeset) std::optional ancestors; if (i == 0) { // 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. // We can only use a cached ancestor calculation for the first // transaction in a package, because in-package parents won't be diff --git a/src/txmempool.h b/src/txmempool.h index e505c87f09c..10acb2aa22f 100644 --- a/src/txmempool.h +++ b/src/txmempool.h @@ -810,7 +810,7 @@ public: * mempool. * * 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 * mempool.