From 520fcd32ed8e93873aa7d3fc5b9f7707d8981d8d Mon Sep 17 00:00:00 2001 From: Antoine Poinsot Date: Fri, 6 Oct 2023 12:30:46 +0200 Subject: [PATCH] miniscript: remove P2WSH-specific part of GetStackSize doc comment --- src/script/miniscript.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/script/miniscript.h b/src/script/miniscript.h index 48f39262cc9702..d6bded959d2b7c 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());