From e982627c6221643ac8c771a8ae54e2c1e3a136d7 Mon Sep 17 00:00:00 2001 From: tianzedavid Date: Thu, 13 Feb 2025 00:30:41 +0800 Subject: [PATCH] Signed-off-by: tianzedavid chore: remove redundant words Signed-off-by: tianzedavid --- doc/tracing.md | 2 +- test/lint/lint-files.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/tracing.md b/doc/tracing.md index 6ec6a6c218a..09a5e1aef34 100644 --- a/doc/tracing.md +++ b/doc/tracing.md @@ -116,7 +116,7 @@ added to and removed (spent) from the cache when we connect a new block. (`chainstate.CoinsTip()`). For example, the RPCs `generateblock` and `getblocktemplate` call `TestBlockValidity()`, which applies the UTXO set changes to a temporary cache. Similarly, mempool consistency checks, which are -frequent on regtest, also apply the the UTXO set changes to a temporary cache. +frequent on regtest, also apply the UTXO set changes to a temporary cache. Changes to the _main_ UTXO cache and to temporary caches trigger the tracepoints. We can't tell if a temporary cache or the _main_ cache was changed. diff --git a/test/lint/lint-files.py b/test/lint/lint-files.py index 7f72fe7c962..78650d257e5 100755 --- a/test/lint/lint-files.py +++ b/test/lint/lint-files.py @@ -78,7 +78,7 @@ def check_all_filenames() -> int: for filename in filenames: if not filename_regex.match(filename): print( - f"""File {repr(filename)} does not not match the allowed filename regexp ('{ALLOWED_FILENAME_REGEXP}').""" + f"""File {repr(filename)} does not match the allowed filename regexp ('{ALLOWED_FILENAME_REGEXP}').""" ) failed_tests += 1 return failed_tests @@ -98,7 +98,7 @@ def check_source_filenames() -> int: for filename in filenames: if not filename_regex.match(filename) and not filename_exception_regex.match(filename): print( - f"""File {repr(filename)} does not not match the allowed source filename regexp ('{ALLOWED_SOURCE_FILENAME_REGEXP}'), or the exception regexp ({ALLOWED_SOURCE_FILENAME_EXCEPTION_REGEXP}).""" + f"""File {repr(filename)} does not match the allowed source filename regexp ('{ALLOWED_SOURCE_FILENAME_REGEXP}'), or the exception regexp ({ALLOWED_SOURCE_FILENAME_EXCEPTION_REGEXP}).""" ) failed_tests += 1 return failed_tests