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
{{ message }}
Repository navigation
bug: spending balance kept after a full withdrawal #1849
While Spark reports a zero balance together with a sync error, SparkRepo.refresh keeps showing the last Spending balance (keptBalanceSats), so a sync failure doesn't flash 0. After a withdrawal that spent the whole Spending balance, a sync error in the same refresh keeps the old balance on screen even though it was spent. Sending still uses Spark's actual balance, so nothing can be overspent; only the shown balance is stale until a sync succeeds.
Open
Confirm the case on a device: withdraw the full Spending balance to Savings, then make the next sync fail.
If it reproduces, drop the kept balance once a withdrawal of it succeeded.
Activity
[-]fix: spending balance kept after a full withdrawal[/-][+]bug: spending balance kept after a full withdrawal[/+]