platform icon indicating copy to clipboard operation
platform copied to clipboard

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

Open pshenmic opened this issue 1 year ago • 2 comments

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 avatar Oct 22 '24 16:10 pshenmic

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

thephez avatar Oct 22 '24 17:10 thephez

On mainnet, but on the testnet sometimes also occurs

pshenmic avatar Oct 22 '24 18:10 pshenmic