What changed, and why it matters
This commit fixes two spelling mistakes in code comments and documentation links. One corrects a grammatical phrase about Bitcoin block version bits, and the other fixes a typo in a hyperlink label pointing to Bitcoin Core's source code. There are no code behavior changes.
No security action needed. Treat as a normal documentation/typo cleanup commit.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff is purely cosmetic: it edits two doc comments in primitives/src/block.rs and primitives/src/transaction.rs. In block.rs, the sentence about version bits is reworded for grammar. In transaction.rs, the label ‘CTtransaction definition’ is corrected to ‘CTransaction definition’. No executable code, types, serialization, consensus logic, or APIs are modified.
Changed components
primitives/src/block.rs (documentation comment only)primitives/src/transaction.rs (documentation comment only)Inspect captured patch +2 / −2
diff --git a/primitives/src/block.rs b/primitives/src/block.rs
index ded539ae..5a38b7dd 100644
--- a/primitives/src/block.rs
+++ b/primitives/src/block.rs
@@ -261,7 +261,7 @@ impl From<&Header> for BlockHash {
///
/// Originally used as a protocol version, but repurposed for soft-fork signaling.
///
-/// The inner value is a signed integer in Bitcoin Core for historical reasons, if version bits is
+/// The inner value is a signed integer in Bitcoin Core for historical reasons, if the version bits are
/// being used the top three bits must be 001, this gives us a useful range of [0x20000000...0x3FFFFFFF].
///
/// > When a block nVersion does not have top bits 001, it is treated as if all bits are 0 for the purposes of deployments.
diff --git a/primitives/src/transaction.rs b/primitives/src/transaction.rs
index 3ca18d15..415d932d 100644
--- a/primitives/src/transaction.rs
+++ b/primitives/src/transaction.rs
@@ -50,7 +50,7 @@ use crate::witness::Witness;
///
/// # Bitcoin Core References
///
-/// * [CTtransaction definition](https://github.com/bitcoin/bitcoin/blob/345457b542b6a980ccfbc868af0970a6f91d1b82/src/primitives/transaction.h#L279)
+/// * [CTransaction definition](https://github.com/bitcoin/bitcoin/blob/345457b542b6a980ccfbc868af0970a6f91d1b82/src/primitives/transaction.h#L279)
///
/// # Serialization notes
///
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.