Commit 0051d4d
committed
Merge rust-bitcoin#5054: Fix
3f20d54 Remove unnecessary check (Shing Him Ng)
8e7f2d2 Move serialization round trip check before object mutation (Shing Him Ng)
Pull request description:
I thought I tested all of the targets I updated before I published them, but this one slipped through the cracks. Updated to move the serialization before object mutation [like before](https://github.com/rust-bitcoin/rust-bitcoin/blob/66c4ea20ff30cfa3e20f3073bd3beca3117177fd/fuzz/fuzz_targets/bitcoin/deserialize_transaction.rs#L10-L11), and I ran `cycle.sh` to make sure that there weren't any glaringly obvious bugs like the one that I pushed. Also remove some unnecessary `assert`s mentioned in rust-bitcoin#5029
ACKs for top commit:
apoelstra:
ACK 3f20d54; successfully ran local tests; but how come our CI was fine with these?
Tree-SHA512: cdf79a0bb73a6b3d236bd567ce46c56e7eca94947c93ce7ef63146dc1256c520ec17b3d9462570753d64930381a383bf48112cd409ca0f287a30ae6da90e9cf5arbitrary_transaction fuzz targetFile tree
3 files changed
+3
-6
lines changed- fuzz/fuzz_targets/bitcoin
3 files changed
+3
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | 26 | | |
28 | 27 | | |
29 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
13 | 16 | | |
14 | 17 | | |
15 | 18 | | |
| |||
25 | 28 | | |
26 | 29 | | |
27 | 30 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | 31 | | |
33 | 32 | | |
34 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | 17 | | |
19 | 18 | | |
20 | 19 | | |
| |||
0 commit comments