breez / breez-sdk-greenlight

MIT License
244 stars 43 forks source link

Chain service error #989

Closed roeierez closed 5 months ago

roeierez commented 6 months ago

fixed #983

This PR address two issues:

  1. Ensures we only parse the json in case of success status code (2xx)
  2. log any chain service errors with the corresponding url and associated error returned.
  3. When attempting to lookup for closing tx onchain don't fail the sync process if the tx was not found (which technically could happen in case of zero conf).
ok300 commented 6 months ago

Resolved conflicts with main.