aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core/tx_pool.cpp
diff options
context:
space:
mode:
authorstoffu <stoffu@protonmail.ch>2019-10-06 12:28:30 +0900
committerstoffu <stoffu@protonmail.ch>2019-10-06 12:28:30 +0900
commitec14abdbe880f5986fd2096fc3991f1fd2d217bd (patch)
tree5778424a30f66a3f00a6166c200b75941f4ff313 /src/cryptonote_core/tx_pool.cpp
parentMerge pull request #5939 (diff)
downloadmonero-ec14abdbe880f5986fd2096fc3991f1fd2d217bd.tar.xz
tx_pool: make spent return-by-reference as intended
Diffstat (limited to 'src/cryptonote_core/tx_pool.cpp')
-rw-r--r--src/cryptonote_core/tx_pool.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptonote_core/tx_pool.cpp b/src/cryptonote_core/tx_pool.cpp
index 5927e116a..29feda9be 100644
--- a/src/cryptonote_core/tx_pool.cpp
+++ b/src/cryptonote_core/tx_pool.cpp
@@ -908,7 +908,7 @@ namespace cryptonote
return true;
}
//---------------------------------------------------------------------------------
- bool tx_memory_pool::check_for_key_images(const std::vector<crypto::key_image>& key_images, std::vector<bool> spent) const
+ bool tx_memory_pool::check_for_key_images(const std::vector<crypto::key_image>& key_images, std::vector<bool>& spent) const
{
CRITICAL_REGION_LOCAL(m_transactions_lock);
CRITICAL_REGION_LOCAL1(m_blockchain);