psbt: correct typo in consensus deserialization error message
What changed, and why it matters
This commit fixes a single-letter spelling mistake in an error message string: 'deserializaton' is corrected to 'deserialization'. It does not change any program logic, parsing behavior, or security properties.
No security action needed. Treat as a cosmetic/documentation-quality fix.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The change is a typo correction in the Display implementation for bitcoin::psbt::Error. The string literal for the ConsensusDeserialize variant is updated from ‘bitcoin consensus deserializaton error’ to ‘bitcoin consensus deserialization error’. No code paths, error variants, serialization/deserialization logic, or APIs are modified.
Changed components
bitcoin/src/psbt/error.rsInspect captured patch +1 / −1
diff --git a/bitcoin/src/psbt/error.rs b/bitcoin/src/psbt/error.rs
index 2993e6dc..e97188ba 100644
--- a/bitcoin/src/psbt/error.rs
+++ b/bitcoin/src/psbt/error.rs
@@ -159,7 +159,7 @@ impl fmt::Display for Error {
}
ConsensusEncoding(ref e) => write_err!(f, "bitcoin consensus encoding error"; e),
ConsensusDeserialize(ref e) =>
- write_err!(f, "bitcoin consensus deserializaton error"; e),
+ write_err!(f, "bitcoin consensus deserialization error"; e),
ConsensusParse(ref e) =>
write_err!(f, "error parsing bitcoin consensus encoded object"; e),
NegativeFee => f.write_str("PSBT has a negative fee which is not allowed"),
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.