mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
fuzz: remove dead code from simplicity_tx.cpp
This commit is contained in:
parent
69c241592f
commit
a2d24eff9e
1 changed files with 0 additions and 9 deletions
|
|
@ -2,7 +2,6 @@
|
|||
// Distributed under the MIT software license, see the accompanying
|
||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
#include <cstdio>
|
||||
#include <span.h>
|
||||
#include <primitives/transaction.h>
|
||||
#include <script/sigcache.h>
|
||||
|
|
@ -65,14 +64,6 @@ void initialize_simplicity_tx()
|
|||
INPUT_ASSET_CONF.vchCommitment[0] = 0x0a;
|
||||
}
|
||||
|
||||
void write_u32(FILE *fh, uint32_t val) {
|
||||
unsigned char buf[4];
|
||||
|
||||
val = htole32(val);
|
||||
memcpy(buf, &val, 4);
|
||||
assert(fwrite(buf, 1, 4, fh) == 4);
|
||||
}
|
||||
|
||||
FUZZ_TARGET_INIT(simplicity_tx, initialize_simplicity_tx)
|
||||
{
|
||||
simplicity_err error;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue