platform
platform copied to clipboard
JS Dash SDK does not handle chainlock
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)
- Init Dash SDK with a new seed phrase
- Send a transaction on wallet and make sure it is a chainlocked (not instant send)
- 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: