From 1cf13e142a2057fa1f7449569f3c3b527cd7f8d5 Mon Sep 17 00:00:00 2001 From: SChernykh Date: Mon, 16 May 2022 15:59:48 +0200 Subject: [PATCH] SideChain: fixed alternative chain detection --- src/side_chain.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/side_chain.cpp b/src/side_chain.cpp index c098247..a4af8b9 100644 --- a/src/side_chain.cpp +++ b/src/side_chain.cpp @@ -1522,6 +1522,8 @@ bool SideChain::is_longer_chain(const PoolBlock* block, const PoolBlock* candida } if (!block) { + // Switching from an empty to a non-empty chain + is_alternative = true; return true; }