Skip to content

Commit

Permalink
Delete false warning comment from fill_block_template
Browse files Browse the repository at this point in the history
  • Loading branch information
miltonf committed May 10, 2019
1 parent 8e72309 commit 1f8ebfd
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/cryptonote_core/tx_pool.cpp
Expand Up @@ -1068,9 +1068,6 @@ namespace cryptonote
//TODO: investigate whether boolean return is appropriate
bool tx_memory_pool::fill_block_template(block &bl, size_t median_size, uint64_t already_generated_coins, size_t &total_size, uint64_t &fee, uint64_t &expected_reward, uint8_t version, uint64_t height)
{
// Warning: This function takes already_generated_
// coins as an argument and appears to do nothing
// with it.

CRITICAL_REGION_LOCAL(m_transactions_lock);
CRITICAL_REGION_LOCAL1(m_blockchain);
Expand Down

0 comments on commit 1f8ebfd

Please sign in to comment.