Skip to content

Repeatedly create the same walletID #56

Description

@cppfuns

When the same walletID is used to call mpcClient.createWallet again to create a wallet, the front end does not return for a long time and keeps waiting.

CreateWallet request sent via core NATS for wallet: 8244ab67-4630-44aa-bf9d-8100e5f7cf6b:0
2025-07-16T01:02:49.556Z CreateWallet sent #1, awaiting result... walletID: 8244ab67-4630-44aa-bf9d-8100e5f7cf6b:0

The mpcium node issues an error message

WRN Keygen session error error="Key already exists: 81418adb-fb32-4e17-9b85-8ae207aa9cb8:0" context="Failed to create ECDSA key generation session" errorCode=ERROR_KEY_ALREADY_EXISTS walletID=81418adb-fb32-4e17-9b85-8ae207aa9cb8:0

Suggestion: Exceptions should be handled properly, error information should be returned to the front end, and back end errors should not be triggered.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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