Skip to content

Commit

Permalink
Merge pull request #451 from loki-project/dev
Browse files Browse the repository at this point in the history
Don't attempt an a db append for blacklisted outputs if empty (#450)
  • Loading branch information
Doy-lee authored Feb 27, 2019
2 parents 9c8b5f0 + 0c01413 commit 05862ea
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/blockchain_db/lmdb/db_lmdb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3933,6 +3933,9 @@ bool BlockchainLMDB::get_output_blacklist(std::vector<uint64_t> &blacklist) cons

void BlockchainLMDB::add_output_blacklist(std::vector<uint64_t> const &blacklist)
{
if (blacklist.size() == 0)
return;

LOG_PRINT_L3("BlockchainLMDB::" << __func__);
check_open();

Expand Down

0 comments on commit 05862ea

Please sign in to comment.