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

Can't make transactions with JS Dash SDK (Empty SPV chain error) #2272

Open
pshenmic opened this issue Oct 22, 2024 · 2 comments
Open

Can't make transactions with JS Dash SDK (Empty SPV chain error) #2272

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

Comments

@pshenmic
Copy link
Collaborator

Expected Behavior

It should be possible to make transactions

Current Behavior

Dash SDK fails to sync with Empty SPV chain error, as a result it does not recognise new utxos in the wallet and any transaction done from the wallet tries to spend UTXO that has been already spent.

Possible Solution

I don't really understand what is hapenning

Steps to Reproduce (for bugs)

  1. await client.getWalletAccount()
  2. Empty SPV chain throws almost every time (and every time when i use unsafeOptions)

Context

Your Environment

  • Version used: 1.4.1 (4.4.1)
  • Environment name and version (e.g. Chrome 39, node.js 5.4): nodejs 21
  • Operating System and version (desktop, server, or mobile): Mac arm64
  • Link to your project:
@pshenmic pshenmic added the bug Something isn't working label Oct 22, 2024
@thephez
Copy link
Collaborator

thephez commented Oct 22, 2024

Is this on testnet or mainnet? I just ran some stuff on testnet and didn't have any issues. I am on Linux / Node 20.1

@pshenmic
Copy link
Collaborator Author

On mainnet, but on the testnet sometimes also occurs

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

2 participants