diff options
author | MarcoFalke <falke.marco@gmail.com> | 2020-12-03 16:42:49 +0100 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2020-12-10 07:15:42 +0100 |
commit | 44444ba759480237172d83f42374c5c29c76eda0 (patch) | |
tree | aefce76c13c39192d4922a88749755dbc2decc11 /src/test/fuzz/transaction.cpp | |
parent | 751ffaabad82f7904fd1d9742a0b323a0ab7bfee (diff) | |
download | bitcoin-44444ba759480237172d83f42374c5c29c76eda0.tar.xz |
fuzz: Link all targets once
Diffstat (limited to 'src/test/fuzz/transaction.cpp')
-rw-r--r-- | src/test/fuzz/transaction.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/fuzz/transaction.cpp b/src/test/fuzz/transaction.cpp index 4f972dea1c..1b3d42d997 100644 --- a/src/test/fuzz/transaction.cpp +++ b/src/test/fuzz/transaction.cpp @@ -21,12 +21,12 @@ #include <cassert> -void initialize() +void initialize_transaction() { SelectParams(CBaseChainParams::REGTEST); } -void test_one_input(const std::vector<uint8_t>& buffer) +FUZZ_TARGET_INIT(transaction, initialize_transaction) { CDataStream ds(buffer, SER_NETWORK, INIT_PROTO_VERSION); try { |