Skip to content

Commit

Permalink
txmempool: fix typos in comments
Browse files Browse the repository at this point in the history
  • Loading branch information
starius authored and janus committed Jan 19, 2025
1 parent 0f7f398 commit 9e72a05
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/txmempool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ void CTxMemPool::Apply(ChangeSet* changeset)
std::optional<CTxMemPool::setEntries> 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
Expand Down
2 changes: 1 addition & 1 deletion src/txmempool.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 9e72a05

Please sign in to comment.