SideChain: fixed alternative chain detection

pull/166/head
SChernykh 2022-05-16 15:59:48 +02:00
parent 8f1f81749d
commit 1cf13e142a
1 changed files with 2 additions and 0 deletions

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