mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
txpool.cpp: rename var to fix for old g++ version (xenial default)
This commit is contained in:
parent
2f8fff39bf
commit
39e2802b9a
1 changed files with 2 additions and 2 deletions
|
@ -615,8 +615,8 @@ namespace cryptonote
|
||||||
CRITICAL_REGION_LOCAL1(m_blockchain);
|
CRITICAL_REGION_LOCAL1(m_blockchain);
|
||||||
|
|
||||||
m_blockchain.for_all_txpool_txes([this, &hashes, &txes](const crypto::hash &txid, const txpool_tx_meta_t &meta, const cryptonote::blobdata*) {
|
m_blockchain.for_all_txpool_txes([this, &hashes, &txes](const crypto::hash &txid, const txpool_tx_meta_t &meta, const cryptonote::blobdata*) {
|
||||||
const auto relay_method = meta.get_relay_method();
|
const auto tx_relay_method = meta.get_relay_method();
|
||||||
if (relay_method != relay_method::block && relay_method != relay_method::fluff)
|
if (tx_relay_method != relay_method::block && tx_relay_method != relay_method::fluff)
|
||||||
return true;
|
return true;
|
||||||
const auto i = std::find(hashes.begin(), hashes.end(), txid);
|
const auto i = std::find(hashes.begin(), hashes.end(), txid);
|
||||||
if (i == hashes.end())
|
if (i == hashes.end())
|
||||||
|
|
Loading…
Reference in a new issue