From 9e72a051aca53388022fff3fe80eb0f2ba9c3e98 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 59ac4607c5..d9000f113e 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 6ff3615c11..01aabe93e9 100644 --- a/src/txmempool.h +++ b/src/txmempool.h @@ -808,7 +808,7 @@ class CTxMemPool * 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.