aboutsummaryrefslogtreecommitdiff
path: root/src/script/miniscript.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/script/miniscript.h')
-rw-r--r--src/script/miniscript.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/script/miniscript.h b/src/script/miniscript.h
index 80d98f5e66..a3eef7f932 100644
--- a/src/script/miniscript.h
+++ b/src/script/miniscript.h
@@ -1050,9 +1050,9 @@ private:
if (node.GetType() << "f"_mst && ret.nsat.available != Availability::NO) assert(ret.nsat.has_sig);
if (node.GetType() << "s"_mst && ret.sat.available != Availability::NO) assert(ret.sat.has_sig);
- // For 'e' nodes, a non-malleable dissatisfaction must exist.
- if (node.GetType() << "e"_mst) assert(ret.nsat.available != Availability::NO);
- if (node.GetType() << "e"_mst) assert(!ret.nsat.malleable);
+ // For non-malleable 'e' nodes, a non-malleable dissatisfaction must exist.
+ if (node.GetType() << "me"_mst) assert(ret.nsat.available != Availability::NO);
+ if (node.GetType() << "me"_mst) assert(!ret.nsat.malleable);
// For 'm' nodes, if a satisfaction exists, it must be non-malleable.
if (node.GetType() << "m"_mst && ret.sat.available != Availability::NO) assert(!ret.sat.malleable);