mirror of
https://git.wownero.com/wownero/onion-wownero-blockchain-explorer.git
synced 2024-08-15 00:33:12 +00:00
catching cryptonote::TX_DNE added to get_tx
This commit is contained in:
parent
c3bb5ac55c
commit
7307c33fba
1 changed files with 7 additions and 2 deletions
|
@ -147,9 +147,14 @@ namespace xmreg
|
||||||
// get transaction with given hash
|
// get transaction with given hash
|
||||||
tx = m_blockchain_storage.get_db().get_tx(tx_hash);
|
tx = m_blockchain_storage.get_db().get_tx(tx_hash);
|
||||||
}
|
}
|
||||||
catch (const exception& e)
|
catch (const cryptonote::TX_DNE & e)
|
||||||
{
|
{
|
||||||
cerr << e.what() << endl;
|
cerr << "MicroCore::get_tx cryptonote::TX_DNE: " << e.what() << endl;
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
catch (const std::exception& e)
|
||||||
|
{
|
||||||
|
cerr << "MicroCore::get_tx: " << e.what() << endl;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue