mirror of
https://codeberg.org/wownero/wownero.git
synced 2026-11-10 08:33:58 +01:00
0 is placeholder for whole chain, so we should compare chain height changes rather than chain-height-or-zero. Even this isn't totally foolproof if a blocks are popped and the same number added again, but it is much better as it prevents the data from slowly going out of sync.