Skip to content

Commit e4bdf22

Browse files
authored
Update context.rs
1 parent 70876ab commit e4bdf22

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/miniscript/context.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ where
200200
/// 3600 or number of stack elements are more than 100.
201201
fn check_witness(_witness: &[Vec<u8>]) -> Result<(), ScriptContextError> {
202202
// Only really need to do this for segwitv0 and legacy
203-
// Bare is already restrcited by standardness rules
203+
// Bare is already restricted by standardness rules
204204
// and would reach these limits.
205205
Ok(())
206206
}
@@ -895,7 +895,7 @@ impl ScriptContext for NoChecks {
895895

896896
fn check_witness(_witness: &[Vec<u8>]) -> Result<(), ScriptContextError> {
897897
// Only really need to do this for segwitv0 and legacy
898-
// Bare is already restrcited by standardness rules
898+
// Bare is already restricted by standardness rules
899899
// and would reach these limits.
900900
Ok(())
901901
}

0 commit comments

Comments
 (0)