mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-26 06:08:40 +01:00
* Charts: detect missing older cached prices in _firstUnavailablePrice Only the newest cached point was checked, so after loading a short range (e.g. 30D or 1H) a longer range (1Y/ALL or 1D) skipped the API fetch and showed only the shorter range's data. Now walk the cached points aligned to the requested precision from the range start and return the first missing slot (before the oldest point, in a gap, or after the newest), tolerating a single missing slot. The existing newest-point check is kept. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XHSNx4epaJ8hpwuFvWjTmy * Charts: drop comment and logging, use explicit type in _firstUnavailablePrice Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XHSNx4epaJ8hpwuFvWjTmy --------- Co-authored-by: Claude <noreply@anthropic.com>