aboutsummaryrefslogtreecommitdiff
path: root/src/test/fuzz/system.cpp
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2021-01-13 09:00:43 +0100
committerMarcoFalke <falke.marco@gmail.com>2021-01-21 19:31:28 +0100
commitfa61b9d1a68820758f9540653920deaeae6abe79 (patch)
tree805bb5c0993d8c69ed269d41ed8d796edbdd2af9 /src/test/fuzz/system.cpp
parent7777105a24a36b62df35d12ecf6c6370671568c8 (diff)
downloadbitcoin-fa61b9d1a68820758f9540653920deaeae6abe79.tar.xz
util: Add ArgsManager::GetCommand() and use it in bitcoin-wallet
Co-Authored-by: Anthony Towns <aj@erisian.com.au>
Diffstat (limited to 'src/test/fuzz/system.cpp')
-rw-r--r--src/test/fuzz/system.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/fuzz/system.cpp b/src/test/fuzz/system.cpp
index 47b38b6d23..3621702e45 100644
--- a/src/test/fuzz/system.cpp
+++ b/src/test/fuzz/system.cpp
@@ -54,7 +54,7 @@ FUZZ_TARGET(system)
if (args_manager.GetArgFlags(argument_name) != nullopt) {
return;
}
- args_manager.AddArg(argument_name, fuzzed_data_provider.ConsumeRandomLengthString(16), fuzzed_data_provider.ConsumeIntegral<unsigned int>(), options_category);
+ args_manager.AddArg(argument_name, fuzzed_data_provider.ConsumeRandomLengthString(16), fuzzed_data_provider.ConsumeIntegral<unsigned int>() & ~ArgsManager::COMMAND, options_category);
},
[&] {
// Avoid hitting: