Skip to content

Commit

Permalink
Merge pull request #6881
Browse files Browse the repository at this point in the history
11b2022 tx_pool: silence spammy harmless warning till we fix the bug (moneromooo-monero)
  • Loading branch information
Snipa22 committed Oct 19, 2020
2 parents 142489b + 11b2022 commit 8e3f46d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/cryptonote_core/tx_pool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1391,7 +1391,10 @@ namespace cryptonote
txpool_tx_meta_t 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;
}
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());
Expand Down

0 comments on commit 8e3f46d

Please sign in to comment.