From ec14abdbe880f5986fd2096fc3991f1fd2d217bd Mon Sep 17 00:00:00 2001 From: stoffu Date: Sun, 6 Oct 2019 12:28:30 +0900 Subject: tx_pool: make spent return-by-reference as intended --- src/cryptonote_core/tx_pool.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cryptonote_core/tx_pool.h') diff --git a/src/cryptonote_core/tx_pool.h b/src/cryptonote_core/tx_pool.h index 877f2b82f..3669b9b5b 100644 --- a/src/cryptonote_core/tx_pool.h +++ b/src/cryptonote_core/tx_pool.h @@ -300,7 +300,7 @@ namespace cryptonote * * @return true */ - bool check_for_key_images(const std::vector& key_images, std::vector spent) const; + bool check_for_key_images(const std::vector& key_images, std::vector& spent) const; /** * @brief get a specific transaction from the pool -- cgit v1.2.3