Merge pull request #5962

ec14abd tx_pool: make spent return-by-reference as intended (stoffu)
This commit is contained in:
luigi1111
2019-10-16 13:51:34 -05:00
2 changed files with 2 additions and 2 deletions

View File

@@ -911,7 +911,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);