You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(dash-spv): unify status display height calculation for genesis and checkpoint sync
Previously, the status display used different logic for calculating header heights:
- Checkpoint sync: correctly used sync_base_height + storage_count
- Genesis sync: incorrectly checked chain_state.headers which was kept minimal
This caused status to show all zeros when syncing from genesis, while headers
were actually being synced to disk successfully.
The fix unifies both paths to use the same formula:
- Genesis sync: 0 + storage_count = actual height
- Checkpoint sync: checkpoint_height + storage_count = actual height
This ensures accurate progress reporting regardless of sync method.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
0 commit comments