fuzz: refactor: Replace NullUniValue with UniValue{}

This is needed for the scripted-diff to compile in the next commit
This commit is contained in:
MacroFake 2022-07-25 16:56:52 +02:00
parent 5057adf22f
commit fa962103e8
No known key found for this signature in database
GPG key ID: CE2B75697E69A548

View file

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