SideChain: fixed alternative chain detection

pull/166/head
SChernykh 2 years ago
parent 8f1f81749d
commit 1cf13e142a

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

Loading…
Cancel
Save