mirror of
https://codeberg.org/wownero/p2pool-wow.git
synced 2026-10-17 05:51:27 +02: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