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
platform-wallet: classify a failed funding-address read in the identity top-up as not sent #6287
topUpIdentityFromAddresses (FFI and Swift) reports a failure of the funding-address read (fetch_inputs_with_nonce, run after the recipient lookup and before building or signing) as not sent, with a delivery class the host can read, so the app can offer Retry.
Current Behavior
At 59fd81f181 a transport error in that read goes through top_up_error as a generic SDK error and crosses the FFI as code 99. The payment-class work in #5928 tags NeverDelivered from the broadcast, not from this read, so the error classifies as MaybeSent. The wallet app then shows "Send in progress" and withholds Retry for a payment that was never built.
Possible Solution
Give the funding-address read its own not-sent class in rs-platform-wallet, carry it through the FFI and the Swift and Kotlin SDKs, and test the case where the recipient read succeeds and the funding-address read fails. Code 20 (submitted, unconfirmed) stays maybe-sent.
Context
dashpay/dashwallet-ios#1486 (now #1502), review finding "A funding-address lookup timeout shows Send in progress even though nothing was sent", deferred to Platform.
Activity