From 93a7be0452a501b0885270f83b76eac8a8ccb0aa Mon Sep 17 00:00:00 2001 From: m2049r Date: Sat, 2 Mar 2019 09:07:27 +0100 Subject: [PATCH] update slow_hash signature (#542) --- app/src/main/cpp/monerujo.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/cpp/monerujo.h b/app/src/main/cpp/monerujo.h index 60483c8d..3be02667 100644 --- a/app/src/main/cpp/monerujo.h +++ b/app/src/main/cpp/monerujo.h @@ -60,14 +60,14 @@ enum { HASH_DATA_AREA = 136 }; -void cn_slow_hash(const void *data, size_t length, char *hash, int variant, int prehashed); +void cn_slow_hash(const void *data, size_t length, char *hash, int variant, int prehashed, uint64_t height); inline void slow_hash(const void *data, const size_t length, char *hash) { - cn_slow_hash(data, length, hash, 0 /* variant */, 0/*prehashed*/); + cn_slow_hash(data, length, hash, 0 /*variant*/, 0 /*prehashed*/, 0 /*height*/); } inline void slow_hash_broken(const void *data, char *hash, int variant) { - cn_slow_hash(data, 200 /*sizeof(union hash_state)*/, hash, variant, 1 /*prehashed*/); + cn_slow_hash(data, 200 /*sizeof(union hash_state)*/, hash, variant, 1 /*prehashed*/, 0 /*height*/); } #ifdef __cplusplus