From f1ff6a21eee6b7564de70fbe7904d9727ad66b73 Mon Sep 17 00:00:00 2001 From: SChernykh Date: Wed, 23 Nov 2022 17:59:28 +0100 Subject: [PATCH] Revert "Broadcast uncle blocks at the same height" This reverts commit 530079b8a5287d97dc4b29d2aef2d98a51ff9c37. --- src/side_chain.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/side_chain.cpp b/src/side_chain.cpp index 3ed3290..88c8eb5 100644 --- a/src/side_chain.cpp +++ b/src/side_chain.cpp @@ -1662,10 +1662,6 @@ void SideChain::update_chain_tip(const PoolBlock* block) LOGINFO(4, "possible uncle block: id = " << log::Gray() << block->m_sidechainId << log::NoColor() << ", height = " << log::Gray() << block->m_sidechainHeight); m_pool->update_block_template_async(); - // Broadcast it if it's at the same height to give it higher chances to be mined - if (block->m_sidechainHeight == tip->m_sidechainHeight) { - block->m_wantBroadcast = true; - } } if (p2pServer() && block->m_wantBroadcast && !block->m_broadcasted) {