diff options
author | MarcoFalke <falke.marco@gmail.com> | 2021-05-20 17:27:44 +0200 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2021-05-20 17:26:24 +0200 |
commit | bbbb51877a96c3473aeea5914f751eec7835b5c4 (patch) | |
tree | bcf0ad27f6743b7d25925e0d0061af011917623b /src/test/fuzz | |
parent | ea8b2e8e127b5a27424c1c08a1352ec1c9382c96 (diff) |
fuzz: Speed up transaction fuzz target
Diffstat (limited to 'src/test/fuzz')
-rw-r--r-- | src/test/fuzz/transaction.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/test/fuzz/transaction.cpp b/src/test/fuzz/transaction.cpp index 797b9cea3e..ff34cc87b2 100644 --- a/src/test/fuzz/transaction.cpp +++ b/src/test/fuzz/transaction.cpp @@ -103,9 +103,6 @@ FUZZ_TARGET_INIT(transaction, initialize_transaction) (void)IsWitnessStandard(tx, coins_view_cache); UniValue u(UniValue::VOBJ); - TxToUniv(tx, /* hashBlock */ {}, /* include_addresses */ true, u); - TxToUniv(tx, /* hashBlock */ {}, /* include_addresses */ false, u); - static const uint256 u256_max(uint256S("ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff")); - TxToUniv(tx, u256_max, /* include_addresses */ true, u); - TxToUniv(tx, u256_max, /* include_addresses */ false, u); + TxToUniv(tx, /* hashBlock */ uint256::ZERO, /* include_addresses */ true, u); + TxToUniv(tx, /* hashBlock */ uint256::ONE, /* include_addresses */ false, u); } |