diff options
Diffstat (limited to 'src/script')
-rw-r--r-- | src/script/miniscript.h | 3 |
1 files changed, 1 insertions, 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<uint32_t> GetStackSize() const { if (!ss.sat.valid) return {}; return ss.sat.netdiff + static_cast<int32_t>(IsBKW()); |