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: crash when connecting to an older version of dapi #252

Closed antouhou closed 3 years ago

antouhou commented 3 years ago

Issue being fixed or feature implemented

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

What was done?

Implement naive cycle retry in every platform method as a temporary fix

How Has This Been Tested?

Run the wallet-lib tests

Breaking Changes

None

Checklist:

For repository code-owners and collaborators only