Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion fuzz/fuzz_targets/compile_descriptor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ fn do_test(data: &[u8]) {
let rtt = desc.to_string();
assert_eq!(output.to_lowercase(), rtt.to_lowercase());
} else {
panic!("compiler output something unparseable: {}", output)
panic!("compiler output something unparsable: {}", output)
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/descriptor/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ impl<Pk: MiniscriptKey> Descriptor<Pk> {

/// Create a new pk descriptor
pub fn new_pk(pk: Pk) -> Self {
// roundabout way to constuct `c:pk_k(pk)`
// roundabout way to construct `c:pk_k(pk)`
let ms: Miniscript<Pk, BareCtx> = Miniscript::from_ast(Terminal::Check(Arc::new(
Miniscript::from_ast(Terminal::PkK(pk)).expect("Type check cannot fail"),
)))
Expand Down
2 changes: 1 addition & 1 deletion src/miniscript/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -783,7 +783,7 @@ impl ScriptContext for BareCtx {

/// "No Checks Ecdsa" Context
///
/// Used by the "satisified constraints" iterator, which is intended to read
/// Used by the "satisfied constraints" iterator, which is intended to read
/// scripts off of the blockchain without doing any sanity checks on them.
/// This context should *NOT* be used unless you know what you are doing.
#[derive(Debug, Clone, Eq, PartialEq, Ord, PartialOrd, Hash)]
Expand Down
Loading