From cc0b834338b916c628fbddd8df0266b72dcb394b Mon Sep 17 00:00:00 2001 From: mlombardi Date: Thu, 20 Nov 2025 23:33:19 +0800 Subject: [PATCH] Fix typos in comments --- src/descriptor/mod.rs | 2 +- src/miniscript/context.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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)]