Skip to content

Commit cc0b834

Browse files
committed
Fix typos in comments
1 parent 83a5214 commit cc0b834

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/descriptor/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ impl<Pk: MiniscriptKey> Descriptor<Pk> {
156156

157157
/// Create a new pk descriptor
158158
pub fn new_pk(pk: Pk) -> Self {
159-
// roundabout way to constuct `c:pk_k(pk)`
159+
// roundabout way to construct `c:pk_k(pk)`
160160
let ms: Miniscript<Pk, BareCtx> = Miniscript::from_ast(Terminal::Check(Arc::new(
161161
Miniscript::from_ast(Terminal::PkK(pk)).expect("Type check cannot fail"),
162162
)))

src/miniscript/context.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -783,7 +783,7 @@ impl ScriptContext for BareCtx {
783783

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

0 commit comments

Comments
 (0)