aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/test/fuzz/notifications.cpp
diff options
context:
space:
mode:
authorMarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz>2023-07-11 14:33:31 +0200
committerMarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz>2023-07-13 20:37:14 +0200
commitfa6dfaaf45bde465969fa7d8fa6b6574a497a6ca (patch)
treef838e21b0218c50e50503a340fba2566d2281a3c /src/wallet/test/fuzz/notifications.cpp
parentfa36ad8b091c70190491280dcf0794e94e34a9ed (diff)
downloadbitcoin-fa6dfaaf45bde465969fa7d8fa6b6574a497a6ca.tar.xz
scripted-diff: Use new FUZZ_TARGET macro everywhere
-BEGIN VERIFY SCRIPT- ren() { sed --regexp-extended -i "s|$1|$2|g" $(git grep -l --extended-regexp "$1"); } # Replace FUZZ_TARGET_INIT ren 'FUZZ_TARGET_INIT\((.+), (.+)\)' 'FUZZ_TARGET(\1, .init = \2)' # Delete unused FUZZ_TARGET_INIT sed -i -e '37,39d' src/test/fuzz/fuzz.h -END VERIFY SCRIPT-
Diffstat (limited to 'src/wallet/test/fuzz/notifications.cpp')
-rw-r--r--src/wallet/test/fuzz/notifications.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/test/fuzz/notifications.cpp b/src/wallet/test/fuzz/notifications.cpp
index f4b69f7403..42accafe5b 100644
--- a/src/wallet/test/fuzz/notifications.cpp
+++ b/src/wallet/test/fuzz/notifications.cpp
@@ -79,7 +79,7 @@ struct FuzzedWallet {
}
};
-FUZZ_TARGET_INIT(wallet_notifications, initialize_setup)
+FUZZ_TARGET(wallet_notifications, .init = initialize_setup)
{
FuzzedDataProvider fuzzed_data_provider{buffer.data(), buffer.size()};
// The total amount, to be distributed to the wallets a and b in txs