mirror of
https://github.com/monero-project/monero.git
synced 2026-01-18 15:46:59 -08:00
blockchain_db: add a txpool tx getter which returns existence
Avoids exception spam for the "nope, not found" case
This commit is contained in:
@@ -627,8 +627,7 @@ namespace cryptonote
|
||||
CRITICAL_REGION_LOCAL1(m_blockchain);
|
||||
try
|
||||
{
|
||||
txblob = m_blockchain.get_txpool_tx_blob(id);
|
||||
return true;
|
||||
return m_blockchain.get_txpool_tx_blob(id, txblob);
|
||||
}
|
||||
catch (const std::exception &e)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user