Skip to content

Commit ec0fc14

Browse files
committed
miniscript: remove P2WSH-specific part of GetStackSize doc comment
1 parent 128bc10 commit ec0fc14

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/script/miniscript.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1491,8 +1491,7 @@ struct Node {
14911491
return !((GetType() & "BKW"_mst) == ""_mst);
14921492
}
14931493

1494-
/** Return the maximum number of stack elements needed to satisfy this script non-malleably.
1495-
* This does not account for the P2WSH script push. */
1494+
/** Return the maximum number of stack elements needed to satisfy this script non-malleably. */
14961495
std::optional<uint32_t> GetStackSize() const {
14971496
if (!ss.sat.valid) return {};
14981497
return ss.sat.netdiff + static_cast<int32_t>(IsBKW());

0 commit comments

Comments
 (0)