mirror of
https://git.wownero.com/wownero/wownero.git
synced 2025-01-09 20:48:53 +00:00
blockchain: don't propagate exception past dtor
Coverity 190660
This commit is contained in:
parent
f796a2dac4
commit
7bce433b89
@ -130,7 +130,8 @@ Blockchain::Blockchain(tx_memory_pool& tx_pool) :
|
|||||||
//------------------------------------------------------------------
|
//------------------------------------------------------------------
|
||||||
Blockchain::~Blockchain()
|
Blockchain::~Blockchain()
|
||||||
{
|
{
|
||||||
deinit();
|
try { deinit(); }
|
||||||
|
catch (const std::exception &e) { /* ignore */ }
|
||||||
}
|
}
|
||||||
//------------------------------------------------------------------
|
//------------------------------------------------------------------
|
||||||
bool Blockchain::have_tx(const crypto::hash &id) const
|
bool Blockchain::have_tx(const crypto::hash &id) const
|
||||||
|
Loading…
Reference in New Issue
Block a user