What changed, and why it matters
This commit fixes a one-word typo in a Rust source code comment. The comment for a PSBT (Partially Signed Bitcoin Transaction) output map constant incorrectly referenced 'PSBT_IN_PROPRIETARY' (input) instead of 'PSBT_OUT_PROPRIETARY' (output). No executable code was changed, so there is no security or functional impact.
No action required. This is a non-functional documentation fix.
Security signals we found
No strong security signals were identified.
Evidence from the diff
In bitcoin/src/psbt/map/output.rs, the doc comment above PSBT_OUT_PROPRIETARY (0xFC) was changed from ‘PSBT_IN_PROPRIETARY’ to ‘PSBT_OUT_PROPRIETARY’. The constant name, value, and all surrounding code remain unchanged. This is purely a documentation/comment consistency correction.
Changed components
bitcoin/src/psbt/map/output.rsInspect captured patch +1 / −1
diff --git a/bitcoin/src/psbt/map/output.rs b/bitcoin/src/psbt/map/output.rs
index ad72f242..d48fc337 100644
--- a/bitcoin/src/psbt/map/output.rs
+++ b/bitcoin/src/psbt/map/output.rs
@@ -22,7 +22,7 @@ const PSBT_OUT_TAP_TREE: u64 = 0x06;
const PSBT_OUT_TAP_BIP32_DERIVATION: u64 = 0x07;
/// Type: MuSig2 Public Keys Participating in Aggregate Output PSBT_OUT_MUSIG2_PARTICIPANT_PUBKEYS = 0x08
const PSBT_OUT_MUSIG2_PARTICIPANT_PUBKEYS: u64 = 0x08;
-/// Type: Proprietary Use Type PSBT_IN_PROPRIETARY = 0xFC
+/// Type: Proprietary Use Type PSBT_OUT_PROPRIETARY = 0xFC
const PSBT_OUT_PROPRIETARY: u64 = 0xFC;
/// A key-value map for an output of the corresponding index in the unsigned
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.