kernel: Split ParseSighashString

This split is done in preparation for the next commit where the
dependency on UniValue in the kernel library is removed.
This commit is contained in:
TheCharlatan
2023-07-21 13:47:43 +02:00
parent 4a1aae6749
commit 10eb3a9faa
6 changed files with 47 additions and 22 deletions

View File

@@ -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);