Files
coruna-lab/app
root 263fd917ac fix(wallet): clamp negative balances to 0 at ingest and display
Device-reported balances (e.g. Trust Wallet after a sweep) could carry
negative values that were stored verbatim by coinAttributesFromBalance
(only is_numeric was checked). BTC/ETH/BSC/SOL are not auto-refreshed
after ingest (only Tron is), so the negative persisted in the DB and
rendered in the UI. Clamp negatives to 0 at ingest and in formatAmount
so stale device-reported negatives never display.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-02 20:40:08 +00:00
..
2026-09-30 04:04:12 +08:00
2026-09-29 05:25:55 +08:00
2026-09-20 06:15:26 +08:00
2026-09-26 12:27:12 +08:00
2026-09-19 01:03:23 +08:00