Commit b8e98e8
committed
fix(fuzz): remove invalid assertion in decode_tx harness
The decode_tx fuzz target asserted that DecodeHexTx() always fails,
inherited from Bitcoin Core where random fuzz bytes essentially never
produce valid transactions. With real Dash chain data as corpus input
(e.g. AssetUnlockTx), valid transactions decode successfully, causing
a false-positive crash. Remove the assertion to allow both success
and failure paths to be exercised.1 parent 01add0b commit b8e98e8
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
| 19 | + | |
21 | 20 | | |
0 commit comments