File tree 1 file changed +1
-3
lines changed
1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -174,7 +174,7 @@ mod private {
174
174
if ( res. ext . tree_height as u32 ) > MAX_RECURSION_DEPTH {
175
175
return Err ( Error :: MaxRecursiveDepthExceeded ) ;
176
176
}
177
- Ctx :: check_global_consensus_validity ( & res) ?;
177
+ Ctx :: check_global_validity ( & res) ?;
178
178
Ok ( res)
179
179
}
180
180
@@ -742,7 +742,6 @@ where
742
742
for ch in frag_wrap. chars ( ) . rev ( ) {
743
743
// Check whether the wrapper is valid under the current context
744
744
let ms = Miniscript :: from_ast ( unwrapped) ?;
745
- Ctx :: check_global_validity ( & ms) ?;
746
745
match ch {
747
746
'a' => unwrapped = Terminal :: Alt ( Arc :: new ( ms) ) ,
748
747
's' => unwrapped = Terminal :: Swap ( Arc :: new ( ms) ) ,
@@ -759,7 +758,6 @@ where
759
758
}
760
759
// Check whether the unwrapped miniscript is valid under the current context
761
760
let ms = Miniscript :: from_ast ( unwrapped) ?;
762
- Ctx :: check_global_validity ( & ms) ?;
763
761
Ok ( ms)
764
762
}
765
763
You can’t perform that action at this time.
0 commit comments