SideChain: fixed alternative chain detection

This commit is contained in:
SChernykh 2022-05-16 15:59:48 +02:00
parent 8f1f81749d
commit 1cf13e142a

View file

@ -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;
}