aboutsummaryrefslogtreecommitdiff
path: root/src/test/fuzz
diff options
context:
space:
mode:
authorTheCharlatan <seb.kung@gmail.com>2023-07-21 13:47:43 +0200
committerTheCharlatan <seb.kung@gmail.com>2023-07-25 17:40:02 +0200
commit10eb3a9faa977371facacee937b2e6dc26f008e0 (patch)
tree1859279e30a7692bcb24f23ddca58b923c791ced /src/test/fuzz
parent4a1aae67498ff8e9aa7ce97fef70b973c604f892 (diff)
kernel: Split ParseSighashString
This split is done in preparation for the next commit where the dependency on UniValue in the kernel library is removed.
Diffstat (limited to 'src/test/fuzz')
-rw-r--r--src/test/fuzz/parse_univalue.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/fuzz/parse_univalue.cpp b/src/test/fuzz/parse_univalue.cpp
index 6d33c1a8cc..ac3e393401 100644
--- a/src/test/fuzz/parse_univalue.cpp
+++ b/src/test/fuzz/parse_univalue.cpp
@@ -75,7 +75,7 @@ FUZZ_TARGET_INIT(parse_univalue, initialize_parse_univalue)
}
try {
(void)ParseSighashString(univalue);
- } catch (const std::runtime_error&) {
+ } catch (const UniValue&) {
}
try {
(void)AmountFromValue(univalue);