diff --git a/src/crypto/RIPEMD160_helper.cpp b/src/crypto/RIPEMD160_helper.cpp index 78d43915..9962802f 100644 --- a/src/crypto/RIPEMD160_helper.cpp +++ b/src/crypto/RIPEMD160_helper.cpp @@ -15,7 +15,7 @@ namespace crypto { { dword MDbuf[RMDsize / 32] = {0}; /* contains (A, B, C, D(, E)) */ - byte* hashcode = (byte*)&h; /* hashcode[RMDsize / 8]; /* for final hash-value */ + byte* hashcode = (byte*)&h; /* hashcode[RMDsize / 8]; for final hash-value */ dword X[16] = {0}; /* current 16-word chunk */ unsigned int i = 0; /* counter */ dword length = static_cast(length_size_t); /* length in bytes of message */ diff --git a/tests/core_tests/chaingen.h b/tests/core_tests/chaingen.h index 2208a701..ac0d8573 100644 --- a/tests/core_tests/chaingen.h +++ b/tests/core_tests/chaingen.h @@ -888,7 +888,7 @@ bool test_generator::construct_block_gentime_with_coinbase_cb(const currency::bl size_t height = get_block_height(prev_block) + 1; //size_t current_block_size = get_object_blobsize(miner_tx); - r = construct_miner_tx(height, misc_utils::median(block_sizes), already_generated_coins, 0 /* current_block_size !HACK! */, 0, acc.get_public_address(), acc.get_public_address(), miner_tx, currency::blobdata(), 1); + r = construct_miner_tx(height, epee::misc_utils::median(block_sizes), already_generated_coins, 0 /* current_block_size !HACK! */, 0, acc.get_public_address(), acc.get_public_address(), miner_tx, currency::blobdata(), 1); CHECK_AND_ASSERT_MES(r, false, "construct_miner_tx failed"); if (!cb(miner_tx))