Merge branch 'master' into merge-mining

This commit is contained in:
SChernykh 2024-05-22 16:21:46 +02:00
commit 406aa72112

View file

@ -1352,7 +1352,7 @@ void SideChain::verify_loop(PoolBlock* block)
// PoW is already checked at this point // PoW is already checked at this point
std::vector<PoolBlock*> blocks_to_verify(1, block); std::vector<PoolBlock*> blocks_to_verify(1, block);
PoolBlock* highest_block = nullptr; const PoolBlock* highest_block = nullptr;
while (!blocks_to_verify.empty()) { while (!blocks_to_verify.empty()) {
block = blocks_to_verify.back(); block = blocks_to_verify.back();