mirror of
https://github.com/monero-project/monero.git
synced 2024-11-18 10:01:02 +00:00
Add log statement
This commit is contained in:
parent
2531aa31f8
commit
4b90fd389d
1 changed files with 1 additions and 0 deletions
|
@ -1563,6 +1563,7 @@ uint64_t BlockchainLMDB::add_block( const block& blk
|
||||||
|
|
||||||
void BlockchainLMDB::pop_block(block& blk, std::vector<transaction>& txs)
|
void BlockchainLMDB::pop_block(block& blk, std::vector<transaction>& txs)
|
||||||
{
|
{
|
||||||
|
LOG_PRINT_L3("BlockchainLMDB::" << __func__);
|
||||||
txn_safe txn;
|
txn_safe txn;
|
||||||
if (mdb_txn_begin(m_env, NULL, 0, txn))
|
if (mdb_txn_begin(m_env, NULL, 0, txn))
|
||||||
throw0(DB_ERROR("Failed to create a transaction for the db"));
|
throw0(DB_ERROR("Failed to create a transaction for the db"));
|
||||||
|
|
Loading…
Reference in a new issue