Skip to content

Commit a3e436f

Browse files
committed
chore: fix typos in comment
1 parent 4ad053b commit a3e436f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

examples/taptree_of_horror/taptree_of_horror.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ fn main() {
250250
// ====== 5. Sign and Create a Spending Transaction ======
251251

252252
// this is how you would sign for an internal key spend
253-
//let _res = psbt.sign(&intneral_xpriv.xkey, secp).unwrap();
253+
//let _res = psbt.sign(&internal_xpriv.xkey, secp).unwrap();
254254

255255
// how you would sign using the leaf that uses index 0 keys
256256
let _res = psbt.sign(&a_prvs[0], secp).unwrap();

fuzz/fuzz_targets/compile_descriptor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ fn do_test(data: &[u8]) {
2222
let rtt = desc.to_string();
2323
assert_eq!(output.to_lowercase(), rtt.to_lowercase());
2424
} else {
25-
panic!("compiler output something unparseable: {}", output)
25+
panic!("compiler output something unparsable: {}", output)
2626
}
2727
}
2828
}

src/expression/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ impl<'a> Tree<'a> {
567567
//
568568
// From a user point of view, UnmatchedCloseParen would probably be
569569
// a clearer error to get, but it complicates the parser to do this,
570-
// and "TralingCharacter" is technically correct, so we leave it for
570+
// and "TrailingCharacter" is technically correct, so we leave it for
571571
// now.
572572
return Err(ParseTreeError::UnmatchedCloseParen { ch: ch.into(), pos });
573573
}

0 commit comments

Comments
 (0)