diff --git a/src/descriptor/mod.rs b/src/descriptor/mod.rs index 81bad54c8..68fd5e2dc 100644 --- a/src/descriptor/mod.rs +++ b/src/descriptor/mod.rs @@ -156,7 +156,7 @@ impl Descriptor { /// 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 = Miniscript::from_ast(Terminal::Check(Arc::new( Miniscript::from_ast(Terminal::PkK(pk)).expect("Type check cannot fail"), ))) diff --git a/src/miniscript/context.rs b/src/miniscript/context.rs index 4fe76a989..c6c4955a0 100644 --- a/src/miniscript/context.rs +++ b/src/miniscript/context.rs @@ -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)]