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: pending spark withdrawal hides the swap fallback #1921
While a Spark withdrawal to one contact settles, paying a different contact that Spark can't afford shows the settling toast instead of falling back to a Pubky Swaps route.
Why
withdrawalRouteLeg throws WithdrawalPending while any contact withdrawal's journal is open, and it checks that before the balance (SparkRepo.kt:871). routePaykitPayment then never reaches the swap fallback (AppViewModel.kt:5044), even though the swap pays from Spending and never touches Spark.
Fix
If the check is there so a contact isn't paid twice while its Spark withdrawal is unresolved, the journal already records address and contact: refuse the fallback only when the pending withdrawal is to this endpoint.
Activity