From 134f8ab60b93012cbf0f0c54b83e88d4cb0976d1 Mon Sep 17 00:00:00 2001 From: who-biz <37732338+who-biz@users.noreply.github.com> Date: Mon, 11 Sep 2023 20:32:50 +0000 Subject: [PATCH] Fix deadlock on DB init, misplaced 'break' directive - Already fixed in blur core, but neglected regression testing on this repo --- src/cryptonote_core/blockchain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cryptonote_core/blockchain.cpp b/src/cryptonote_core/blockchain.cpp index aae0173a..956ee1e3 100644 --- a/src/cryptonote_core/blockchain.cpp +++ b/src/cryptonote_core/blockchain.cpp @@ -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 {