1
0
Fork 0
forked from lthn/blockchain

attempt to fix build for macos

This commit is contained in:
cryptozoidberg 2024-02-20 20:14:10 +04:00
parent 4c70d2aea0
commit 18609e296f
No known key found for this signature in database
GPG key ID: 22DEB97A54C6FDEC

View file

@ -8,8 +8,9 @@
#include <string.h>
#include "hash-ops.h"
#include "malloc.h"
#ifdef _M_ARM64
#include "malloc.h"
#endif
void tree_hash(const char (*hashes)[HASH_SIZE], size_t count, char *root_hash) {
assert(count > 0);
if (count == 1) {