mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-06-27 01:11:59 +02:00
fuzz: refactor: Replace NullUniValue with UniValue{}
This is needed for the scripted-diff to compile in the next commit
This commit is contained in:
parent
5057adf22f
commit
fa962103e8
@ -26,7 +26,7 @@ FUZZ_TARGET_INIT(parse_univalue, initialize_parse_univalue)
|
|||||||
return ParseNonRFCJSONValue(random_string);
|
return ParseNonRFCJSONValue(random_string);
|
||||||
} catch (const std::runtime_error&) {
|
} catch (const std::runtime_error&) {
|
||||||
valid = false;
|
valid = false;
|
||||||
return NullUniValue;
|
return UniValue{};
|
||||||
}
|
}
|
||||||
}();
|
}();
|
||||||
if (!valid) {
|
if (!valid) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user