From 34e8ee23b83eeecb1c4022b48e7b8db45a60ffdd Mon Sep 17 00:00:00 2001 From: Boris Nagaev Date: Tue, 31 Dec 2024 00:04:20 -0300 Subject: [PATCH] txmempool: fix typos in comments --- src/txmempool.cpp | 2 +- src/txmempool.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/txmempool.cpp b/src/txmempool.cpp index 950004044e..3a5a3fb306 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 e505c87f09..10acb2aa22 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.