Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JS Dash SDK does not handle chainlock #2262

Open
pshenmic opened this issue Oct 21, 2024 · 0 comments
Open

JS Dash SDK does not handle chainlock #2262

pshenmic opened this issue Oct 21, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@pshenmic
Copy link
Collaborator

Expected Behavior

You should be able to register a top up identity, if you received your funds on the wallet were secured with chainlock, insetad of instant send.

Current Behavior

JS SDK fails to register or topUp identity, failing with such message:

[StateTransitionBroadcastError: Instant lock proof signature is invalid or wasn't created recently. Pleases try chain asset lock proof instead.] {
  code: 10513,
  cause: InvalidInstantAssetLockProofSignatureError { __wbg_ptr: 3414016 }
}

Sending new funds locked via InstantSend neither work because the wallet picks up first utxo by default, not allowing you to proceed the operation

Possible Solution

Steps to Reproduce (for bugs)

  1. Init Dash SDK with a new seed phrase
  2. Send a transaction on wallet and make sure it is a chainlocked (not instant send)
  3. Try to register or top up an identity

Context

Your Environment

  • Version used:
  • Environment name and version (e.g. Chrome 39, node.js 5.4):
  • Operating System and version (desktop, server, or mobile):
  • Link to your project:
@pshenmic pshenmic added the bug Something isn't working label Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant