Skip to content

Commit

Permalink
Fix deadlock on DB init, misplaced 'break' directive
Browse files Browse the repository at this point in the history
- Already fixed in blur core, but neglected regression testing on this repo
  • Loading branch information
who-biz committed Sep 11, 2023
1 parent 5d09fbb commit 134f8ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cryptonote_core/blockchain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -652,8 +652,8 @@ bool Blockchain::init(BlockchainDB* db, const network_type nettype, bool offline
if (num_popped_blocks > 0)
{
MINFO("Initial popping done, top block: " << top_id << ", top height: " << top_height << ", block version: " << (uint64_t)top_block.major_version);
break;
}
break;
}
else
{
Expand Down

0 comments on commit 134f8ab

Please sign in to comment.