From ec0fc14a22f38b487929ec21145945966f301eb5 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 48f39262cc..d6bded959d 100644 --- a/src/script/miniscript.h +++ b/src/script/miniscript.h @@ -1491,8 +1491,7 @@ public: 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());