aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2018-05-29 12:57:43 -0500
committerluigi1111 <luigi1111w@gmail.com>2018-05-29 12:57:43 -0500
commited72f35e9a1ba1288864debca1269656a00d5228 (patch)
tree43dd2942f94b3d624a57c49721be945dbc1bd1a9
parentMerge pull request #3420 (diff)
parenttx_pool: remove old comment from fill_block_template() (diff)
downloadmonero-ed72f35e9a1ba1288864debca1269656a00d5228.tar.xz
Merge pull request #3446
a6b8d3f tx_pool: remove old comment from fill_block_template() (stoffu)
-rw-r--r--src/cryptonote_core/tx_pool.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/cryptonote_core/tx_pool.cpp b/src/cryptonote_core/tx_pool.cpp
index 5dfbc1dd4..bf1fe476e 100644
--- a/src/cryptonote_core/tx_pool.cpp
+++ b/src/cryptonote_core/tx_pool.cpp
@@ -1068,10 +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)
{
- // 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);