dashevo / js-dapi-client

DEPRECATED JavaScript client library used to access Dash DAPI endpoints
https://dashevo.github.io/platform/DAPI-Client/
MIT License
10 stars 9 forks source link

fix: `getTransaction` requested an older DAPI instance #254

Closed antouhou closed 3 years ago

antouhou commented 3 years ago

Issue being fixed or feature implemented

Client crashing when getting transaction info from older dapi nodes

What was done?

Implemented simple retries for platform method for the case when connecting to a dapi instance that doesn't return metadata. This is a temporary fix and should be removed once proper dapi probing is implemented

How Has This Been Tested?

Run wallet-lib tests

Breaking Changes

None

Checklist:

For repository code-owners and collaborators only