mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-12-24 22:27:46 +00:00
Fix typo
This commit is contained in:
parent
3796941d8e
commit
9079a32c07
2 changed files with 2 additions and 2 deletions
|
@ -1010,7 +1010,7 @@ bool Blockchain::create_block_template(block& b, const account_public_address& m
|
|||
b.timestamp = time(NULL);
|
||||
|
||||
diffic = get_difficulty_for_next_block();
|
||||
CHECK_AND_ASSERT_MES(diffic, false, "difficulty owverhead.");
|
||||
CHECK_AND_ASSERT_MES(diffic, false, "difficulty overhead.");
|
||||
|
||||
median_size = m_current_block_cumul_sz_limit / 2;
|
||||
already_generated_coins = m_db->get_block_already_generated_coins(height - 1);
|
||||
|
|
|
@ -661,7 +661,7 @@ bool blockchain_storage::create_block_template(block& b, const account_public_ad
|
|||
b.timestamp = time(NULL);
|
||||
height = m_blocks.size();
|
||||
diffic = get_difficulty_for_next_block();
|
||||
CHECK_AND_ASSERT_MES(diffic, false, "difficulty owverhead.");
|
||||
CHECK_AND_ASSERT_MES(diffic, false, "difficulty overhead.");
|
||||
|
||||
median_size = m_current_block_cumul_sz_limit / 2;
|
||||
already_generated_coins = m_blocks.back().already_generated_coins;
|
||||
|
|
Loading…
Reference in a new issue