forked from lthn/blockchain
more minor fixes
This commit is contained in:
parent
7df157520d
commit
b7f30382e1
2 changed files with 2 additions and 2 deletions
|
|
@ -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<dword>(length_size_t); /* length in bytes of message */
|
||||
|
|
|
|||
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue