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 committed 2022-07-25 17:20:56 +02:00
1 parent 5057adf22f
commit fa962103e8
1 file changed
+1 -1
+1 -1
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) {