From fa4c599145843b0d3cf998d661281a39bc438d95 Mon Sep 17 00:00:00 2001 From: MarcoFalke Date: Sat, 1 Jan 2022 00:57:12 +1300 Subject: [PATCH] rpc: Quote user supplied descriptor in error msg --- src/script/descriptor.cpp | 4 ++-- test/functional/rpc_getdescriptorinfo.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/script/descriptor.cpp b/src/script/descriptor.cpp index 0cc38b3003f..84040bf8477 100644 --- a/src/script/descriptor.cpp +++ b/src/script/descriptor.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2018-2021 The Bitcoin Core developers +// Copyright (c) 2018-2022 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -1222,7 +1222,7 @@ std::unique_ptr ParseScript(uint32_t& key_exp_index, Span