diff --git a/src/script/miniscript.h b/src/script/miniscript.h index 48f39262cc970..d6bded959d2b7 100644 --- a/src/script/miniscript.h +++ b/src/script/miniscript.h @@ -1491,8 +1491,7 @@ struct Node { return !((GetType() & "BKW"_mst) == ""_mst); } - /** Return the maximum number of stack elements needed to satisfy this script non-malleably. - * This does not account for the P2WSH script push. */ + /** Return the maximum number of stack elements needed to satisfy this script non-malleably. */ std::optional GetStackSize() const { if (!ss.sat.valid) return {}; return ss.sat.netdiff + static_cast(IsBKW());