1
0
Fork 0
forked from lthn/blockchain

compilation fixup

This commit is contained in:
sowle 2019-03-04 14:02:46 +03:00
parent a832c63067
commit 146327e2b1
2 changed files with 3 additions and 1 deletions

View file

@ -177,7 +177,7 @@ namespace crypto
uint64_t primary_item_index = (hash_index - (hash_index % 10)) / 10;
uint64_t sha_count = hash_index % 10;
crypto::hash res = scratchpad_light[primary_item_index];
for (int i = 0; i != sha_count; i++)
for (uint64_t i = 0; i != sha_count; i++)
{
res = cn_fast_hash(&res, sizeof(res));
}

View file

@ -7,6 +7,8 @@
#include "currency_protocol/blobdatatype.h"
#include "currency_core/currency_basic.h"
#include "cache_helper.h"
#include "currency_core/currency_format_utils.h"
#include "currency_core/currency_format_utils_blocks.h"
namespace currency
{