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
fix: end a stalled wear spark send with its connection #2184
On the watch, PaymentsRepo times out a Spark sendPayment call after 60 s and reports the outcome as unknown, but the call itself stays alive inside the SDK. Until it returns, every new send is refused as busy (a retry of the same request shows Pending), also after a disconnect, a wipe and a fresh restore, and every disconnect waits its full 10 s grace.
It fails closed: nothing pays twice. It needs an SDK call that never returns.
Proposal
Tie the running-call count and the stalled call to the SDK connection, so a disconnect or wipe ends them.
Done when
Unit tests cover a stalled call followed by a disconnect, a wipe and a restore, with the new wallet able to send.
Found in review round 3 of the Wear OS payments PR.
Activity