Skip to content

Commit 73f68ff

Browse files
committed
Satisfaction bugs
1 parent 73e41b4 commit 73f68ff

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/miniscript/satisfy.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1048,7 +1048,8 @@ impl Satisfaction {
10481048
has_sig: rnsat.has_sig,
10491049
};
10501050

1051-
min_fn(dissat_1, dissat_2)
1051+
// Dissatisfactions don't need to non-malleable. Use minimum_mall always
1052+
Satisfaction::minimum_mall(dissat_1, dissat_2)
10521053
}
10531054
Terminal::Thresh(_, ref subs) => Satisfaction {
10541055
stack: subs.iter().fold(Witness::empty(), |acc, sub| {

0 commit comments

Comments
 (0)