Add log statement
This commit is contained in:
parent
2531aa31f8
commit
4b90fd389d
|
@ -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 New Issue