aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMacroFake <falke.marco@gmail.com>2022-07-25 16:56:52 +0200
committerMacroFake <falke.marco@gmail.com>2022-07-25 17:20:56 +0200
commitfa962103e8eb0b078b83943a21831be39e7716c9 (patch)
treec80d65379129ebc7f3af6752378303d1f942d3fc /src
parent5057adf22fc4c3593e1e633defeda96be508f198 (diff)
downloadbitcoin-fa962103e8eb0b078b83943a21831be39e7716c9.tar.xz
fuzz: refactor: Replace NullUniValue with UniValue{}
This is needed for the scripted-diff to compile in the next commit
Diffstat (limited to 'src')
-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 c7a76aa52f..0cc210f26f 100644
--- a/src/test/fuzz/parse_univalue.cpp
+++ b/src/test/fuzz/parse_univalue.cpp
@@ -26,7 +26,7 @@ FUZZ_TARGET_INIT(parse_univalue, initialize_parse_univalue)
return ParseNonRFCJSONValue(random_string);
} catch (const std::runtime_error&) {
valid = false;
- return NullUniValue;
+ return UniValue{};
}
}();
if (!valid) {