Skip to content

kotlin-sdk: dashpay.syncState throws Generic FFI error for unmanaged identities (should be null / typed NotFound) #4051

Description

@bfoss765

Calling Dashpay.syncState(identityId) for an identity the wallet doesn't manage throws
DashSdkError$PlatformWallet$Generic: requested platform_wallet::wallet::identity::state::managed_identity::ManagedIdentity not found
(via TokensNative.getManagedIdentity). Consumers must message-match to distinguish
"not managed" from real failures. Expected: null or a typed NotFound. Live-verified.

cc @QuantumExplorer for review.

Context: found during the Android wallet dashj→Kotlin-SDK migration (dashpay/dash-wallet#1507); live-verified items were reproduced on testnet (Galaxy S22).

🤖 Filed with Claude Code

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions