aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/consensus/params.h2
-rw-r--r--src/test/util/cluster_linearize.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/consensus/params.h b/src/consensus/params.h
index eadfe2ba90..dd29b9408e 100644
--- a/src/consensus/params.h
+++ b/src/consensus/params.h
@@ -109,7 +109,7 @@ struct Params {
uint256 powLimit;
bool fPowAllowMinDifficultyBlocks;
/**
- * Enfore BIP94 timewarp attack mitigation. On testnet4 this also enforces
+ * Enforce BIP94 timewarp attack mitigation. On testnet4 this also enforces
* the block storm mitigation.
*/
bool enforce_BIP94;
diff --git a/src/test/util/cluster_linearize.h b/src/test/util/cluster_linearize.h
index 508a08133c..9477d2ed41 100644
--- a/src/test/util/cluster_linearize.h
+++ b/src/test/util/cluster_linearize.h
@@ -155,7 +155,7 @@ struct DepGraphFormatter
// Ignore transactions which are already known to be ancestors.
if (depgraph.Descendants(dep_idx).Overlaps(written_parents)) continue;
if (depgraph.Ancestors(idx)[dep_idx]) {
- // When an actual parent is encounted, encode how many non-parents were skipped
+ // When an actual parent is encountered, encode how many non-parents were skipped
// before it.
s << VARINT(diff);
diff = 0;