mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-18 22:35:39 +01:00
tests: Fuzz currently uncovered code path in TxToUniv(...)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user