Merge pull request #8065

82828bf cryptonote_core: fix unused lambda warning (selsta)
This commit is contained in:
luigi1111 2021-11-26 23:00:31 -06:00
commit 9c4c28e4f6
No known key found for this signature in database
GPG key ID: F4ACA0183641E010

View file

@ -1581,7 +1581,7 @@ namespace cryptonote
// get all txids // get all txids
std::vector<tx_entry_t> txes; 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 if (!meta.pruned) // skip pruned txes
txes.push_back({txid, meta}); txes.push_back({txid, meta});
return true; return true;