mirror of
https://github.com/monero-project/monero.git
synced 2024-12-25 04:59:43 +00:00
tx_pool: silence spammy harmless warning till we fix the bug
This commit is contained in:
parent
1a9a984d26
commit
250c48a289
1 changed files with 4 additions and 1 deletions
|
@ -1391,7 +1391,10 @@ namespace cryptonote
|
||||||
txpool_tx_meta_t meta;
|
txpool_tx_meta_t meta;
|
||||||
if (!m_blockchain.get_txpool_tx_meta(sorted_it->second, meta))
|
if (!m_blockchain.get_txpool_tx_meta(sorted_it->second, meta))
|
||||||
{
|
{
|
||||||
MERROR(" failed to find tx meta");
|
static bool warned = false;
|
||||||
|
if (!warned)
|
||||||
|
MERROR(" failed to find tx meta: " << sorted_it->second << " (will only print once)");
|
||||||
|
warned = true;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
LOG_PRINT_L2("Considering " << sorted_it->second << ", weight " << meta.weight << ", current block weight " << total_weight << "/" << max_total_weight << ", current coinbase " << print_money(best_coinbase) << ", relay method " << (unsigned)meta.get_relay_method());
|
LOG_PRINT_L2("Considering " << sorted_it->second << ", weight " << meta.weight << ", current block weight " << total_weight << "/" << max_total_weight << ", current coinbase " << print_money(best_coinbase) << ", relay method " << (unsigned)meta.get_relay_method());
|
||||||
|
|
Loading…
Reference in a new issue