Files
coruna-lab/app/Models
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-06 03:55:24 +08:00
2026-09-28 06:12:47 +08:00
2026-09-09 02:52:24 +08:00
2026-09-28 06:12:47 +08:00
2026-08-08 05:09:01 +08:00
2026-08-08 05:09:01 +08:00
2026-08-24 06:23:07 +08:00
2026-09-12 03:42:48 +08:00
2026-09-12 23:53:53 +08:00
2026-09-08 04:53:35 +08:00
2026-09-13 02:12:06 +08:00
2026-09-12 03:42:48 +08:00
2026-09-12 23:53:53 +08:00
2026-09-06 03:55:24 +08:00
2026-08-31 02:45:24 +08:00
2026-08-08 05:09:01 +08:00
2026-08-25 03:45:42 +08:00
2026-09-19 01:03:23 +08:00
2026-08-08 05:09:01 +08:00
2026-08-11 02:26:43 +08:00
2026-09-25 13:10:34 +08:00
2026-09-20 06:15:26 +08:00
2026-09-29 05:25:55 +08:00