We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69c2415 commit a2d24efCopy full SHA for a2d24ef
src/test/fuzz/simplicity_tx.cpp
@@ -2,7 +2,6 @@
2
// Distributed under the MIT software license, see the accompanying
3
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
4
5
-#include <cstdio>
6
#include <span.h>
7
#include <primitives/transaction.h>
8
#include <script/sigcache.h>
@@ -65,14 +64,6 @@ void initialize_simplicity_tx()
65
64
INPUT_ASSET_CONF.vchCommitment[0] = 0x0a;
66
}
67
68
-void write_u32(FILE *fh, uint32_t val) {
69
- unsigned char buf[4];
70
-
71
- val = htole32(val);
72
- memcpy(buf, &val, 4);
73
- assert(fwrite(buf, 1, 4, fh) == 4);
74
-}
75
76
FUZZ_TARGET_INIT(simplicity_tx, initialize_simplicity_tx)
77
{
78
simplicity_err error;
0 commit comments