From 416ceb8661117235c76f2985512473ebbc64956b Mon Sep 17 00:00:00 2001 From: w0xlt Date: Fri, 12 Aug 2022 02:17:48 -0300 Subject: [PATCH] descriptor: check if `rawtr` has only one key. --- src/script/descriptor.cpp | 4 ++++ src/test/descriptor_tests.cpp | 25 +++++++++++++++++++++++++ 2 files changed, 29 insertions(+) diff --git a/src/script/descriptor.cpp b/src/script/descriptor.cpp index 9bcbe1ceefb..953d6a7ec6b 100644 --- a/src/script/descriptor.cpp +++ b/src/script/descriptor.cpp @@ -1472,6 +1472,10 @@ std::unique_ptr ParseScript(uint32_t& key_exp_index, Span