Skip to content

Commit a0f0c48

Browse files
committed
Merge bitcoin/bitcoin#31584: txmempool: fix typos in comments
34e8ee2 txmempool: fix typos in comments (Boris Nagaev) Pull request description: Fixed typos identified by codespell lint in CI. ACKs for top commit: maflcko: lgtm ACK 34e8ee2 hebasto: ACK 34e8ee2. Tree-SHA512: b36cddb26e33f042c074185aa6ef1b0339ae0ff05643e1c30bac56b8c9620d89c834ea5befb25d2c602a3dd541209f5a7c04da6ef9f10724144c35a6548ea52c
2 parents 5587836 + 34e8ee2 commit a0f0c48

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/txmempool.cpp

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -810,7 +810,7 @@ class CTxMemPool
810810
* mempool.
811811
*
812812
* CalculateMemPoolAncestors() calculates the in-mempool (not including
813-
* what is in the change set itself) ancestors of a given transacion.
813+
* what is in the change set itself) ancestors of a given transaction.
814814
*
815815
* Apply() will apply the removals and additions that are staged into the
816816
* mempool.

0 commit comments

Comments
 (0)