Skip to content

Commit 2e147da

Browse files
committed
local validity rules bug
1 parent ee59288 commit 2e147da

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
@@ -195,8 +195,8 @@ pub trait ScriptContext:
195195
ms: &Miniscript<Pk, Ctx>,
196196
) -> Result<(), ScriptContextError> {
197197
Self::check_global_consensus_validity(ms)?;
198-
Self::check_global_consensus_validity(ms)?;
199-
Self::check_local_policy_validity(ms)?;
198+
Self::check_global_policy_validity(ms)?;
199+
Self::check_local_consensus_validity(ms)?;
200200
Self::check_local_policy_validity(ms)?;
201201
Ok(())
202202
}

0 commit comments

Comments
 (0)