diff options
author | selsta <selsta@sent.at> | 2021-11-16 05:21:25 +0100 |
---|---|---|
committer | selsta <selsta@sent.at> | 2021-11-16 05:21:56 +0100 |
commit | 82828bfcb6718ea35af054e3ae470026e74e12aa (patch) | |
tree | 082acfb4c960364734090412869dbaadede2b818 /src | |
parent | Merge pull request #8048 (diff) | |
download | monero-82828bfcb6718ea35af054e3ae470026e74e12aa.tar.xz |
cryptonote_core: fix unused lambda warning
Diffstat (limited to 'src')
-rw-r--r-- | src/cryptonote_core/tx_pool.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptonote_core/tx_pool.cpp b/src/cryptonote_core/tx_pool.cpp index 5629db3e6..6fe5a54ac 100644 --- a/src/cryptonote_core/tx_pool.cpp +++ b/src/cryptonote_core/tx_pool.cpp @@ -1581,7 +1581,7 @@ namespace cryptonote // get all txids std::vector<tx_entry_t> txes; - m_blockchain.for_all_txpool_txes([this, &txes](const crypto::hash &txid, const txpool_tx_meta_t &meta, const cryptonote::blobdata_ref*) { + m_blockchain.for_all_txpool_txes([&txes](const crypto::hash &txid, const txpool_tx_meta_t &meta, const cryptonote::blobdata_ref*) { if (!meta.pruned) // skip pruned txes txes.push_back({txid, meta}); return true; |