diff options
author | practicalswift <practicalswift@users.noreply.github.com> | 2020-03-10 11:28:10 +0000 |
---|---|---|
committer | practicalswift <practicalswift@users.noreply.github.com> | 2020-03-11 12:38:10 +0000 |
commit | 9f8d74a8c78457ed49c7ff81bae909c8e003670b (patch) | |
tree | 1303739f6895ddabc5d4c87b3ef1de89c0a9fb9b /src | |
parent | 46ef4cfe5f416cb34e889646df3ee241b1d5ae5a (diff) |
tests: Fuzz currently uncovered code path in TxToUniv(...)
Diffstat (limited to 'src')
-rw-r--r-- | src/test/fuzz/transaction.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/fuzz/transaction.cpp b/src/test/fuzz/transaction.cpp index 1ec69cc23d..d8e84f1a0f 100644 --- a/src/test/fuzz/transaction.cpp +++ b/src/test/fuzz/transaction.cpp @@ -108,5 +108,7 @@ void test_one_input(const std::vector<uint8_t>& buffer) } if (!skip_tx_to_univ) { TxToUniv(tx, /* hashBlock */ {}, u); + static const uint256 u256_max(uint256S("ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff")); + TxToUniv(tx, u256_max, u); } } |