mirror of
https://github.com/wownero/p2pool-wow.git
synced 2026-12-01 12:53:54 +01:00
SideChain: fixed alternative chain detection
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user