Add log statement

This commit is contained in:
warptangent 2015-02-11 15:55:53 -08:00
parent 2531aa31f8
commit 4b90fd389d
No known key found for this signature in database
GPG Key ID: 0E490BEBFBE4E92D

View File

@ -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"));