chore: fix some minor issues in the comments (#1235)
What changed, and why it matters
This commit only removes extra trailing spaces at the end of lines in two documentation files (usage.md and upgrading.md). It does not change any code, configuration, instructions, or behavior of the electrs software. There is no security relevance.
No action needed; this is a cosmetic documentation cleanup.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff shows four whitespace-only changes in Markdown documentation: two trailing-space removals in doc/upgrading.md and two in doc/usage.md. No executable code, build scripts, dependencies, or configuration values are modified. No security signals are present.
Changed components
Inspect captured patch +4 / −4
diff --git a/doc/upgrading.md b/doc/upgrading.md
index db2f390..a52bffd 100644
--- a/doc/upgrading.md
+++ b/doc/upgrading.md
@@ -11,7 +11,7 @@
|WARN | 1|Things that could indicate serious problems |
|INFO | 2|Various significant events and suggestions |
|DEBUG | 3|Details that could be useful when debugging - only use when debugging!|
-|TRACE | 4|**Very** detailed information - only use when debugging! |
+|TRACE | 4|**Very** detailed information - only use when debugging! |
### Important changes from versions older than 0.9.0
@@ -69,7 +69,7 @@ sudo apt update
sudo apt upgrade
```
-Similarly for other distributions - use their respective commands.
+Similarly for other distributions - use their respective commands.
If a new version of `electrs` is not yet in the package system, try waiting a few days or contact the maintainers of the packages if it has been a long time.
### Upgrading manual installation
diff --git a/doc/usage.md b/doc/usage.md
index 8839977..557db61 100644
--- a/doc/usage.md
+++ b/doc/usage.md
@@ -101,8 +101,8 @@ $ echo '{"jsonrpc": "2.0", "method": "server.version", "params": ["", "1.4"], "i
{"id":0,"jsonrpc":"2.0","result":["electrs 0.9.0","1.4"]}
```
-For more complex tasks, you may need to convert addresses to
-[script hashes](https://electrum-protocol.readthedocs.io/en/latest/protocol-basics.html#script-hashes) - see
+For more complex tasks, you may need to convert addresses to
+[script hashes](https://electrum-protocol.readthedocs.io/en/latest/protocol-basics.html#script-hashes) - see
[contrib/history.py](https://github.com/romanz/electrs/blob/master/contrib/history.py) for getting an address balance and history:
```
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.