aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core/cryptonote_core.cpp
diff options
context:
space:
mode:
authorZachary Michaels <mikezackles@gmail.com>2014-07-17 10:31:44 -0400
committerZachary Michaels <mikezackles@gmail.com>2014-07-17 16:31:31 -0400
commit4d25350a823866a602dca84847f7d7e3b810c823 (patch)
tree42b30419781de7fbc86dc95ef877f66b77df3536 /src/cryptonote_core/cryptonote_core.cpp
parent9872d205ff8fb1c961cd335c760ebf238c25ab9a (diff)
downloadmonzero-core-4d25350a823866a602dca84847f7d7e3b810c823.tar.gz
monzero-core-4d25350a823866a602dca84847f7d7e3b810c823.tar.xz
monzero-core-4d25350a823866a602dca84847f7d7e3b810c823.zip
Use const where appropriate in tx_pool
Diffstat (limited to 'src/cryptonote_core/cryptonote_core.cpp')
-rw-r--r--src/cryptonote_core/cryptonote_core.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cryptonote_core/cryptonote_core.cpp b/src/cryptonote_core/cryptonote_core.cpp
index 2a0129f4e..751d12f79 100644
--- a/src/cryptonote_core/cryptonote_core.cpp
+++ b/src/cryptonote_core/cryptonote_core.cpp
@@ -452,7 +452,8 @@ namespace cryptonote
//-----------------------------------------------------------------------------------------------
bool core::get_pool_transactions(std::list<transaction>& txs)
{
- return m_mempool.get_transactions(txs);
+ m_mempool.get_transactions(txs);
+ return true;
}
//-----------------------------------------------------------------------------------------------
bool core::get_short_chain_history(std::list<crypto::hash>& ids)