mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-30 05:52:33 +02:00
tests: Fuzz currently uncovered code path in TxToUniv(...)
This commit is contained in:
parent
46ef4cfe5f
commit
9f8d74a8c7
@ -108,5 +108,7 @@ void test_one_input(const std::vector<uint8_t>& buffer)
|
|||||||
}
|
}
|
||||||
if (!skip_tx_to_univ) {
|
if (!skip_tx_to_univ) {
|
||||||
TxToUniv(tx, /* hashBlock */ {}, u);
|
TxToUniv(tx, /* hashBlock */ {}, u);
|
||||||
|
static const uint256 u256_max(uint256S("ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"));
|
||||||
|
TxToUniv(tx, u256_max, u);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user