miniscript: restrict multi() usage to P2WSH context

CHECKMULTISIG is disabled for Tapscript. Instead, we'll introduce
a multi_a() fragment with the same semantic as multi().
This commit is contained in:
Antoine Poinsot 2023-01-21 13:49:59 +01:00
parent 91b4db8590
commit 9164c2eca1
No known key found for this signature in database
GPG key ID: E13FC145CD3F4304
2 changed files with 20 additions and 2 deletions

View file

@ -10,6 +10,7 @@
#include <assert.h>
namespace miniscript {
namespace internal {
Type SanitizeType(Type e) {