Skip to content

Conversation

@alvasw
Copy link
Contributor

@alvasw alvasw commented Jan 9, 2024

The initialSanityChecks method only checks whether the JSON response is null (HTTP request failed) or the response is empty (HTTP 200) before parsing the JSON response. A invalid JSON response would throw a JsonSyntaxException exception which the callers are not catching.

Changes:

alvasw added 6 commits January 9, 2024 10:43
The inital state is always OpenOffer.State.AVAILABLE.
The initialSanityChecks method only checks whether the JSON response is
null (HTTP request failed) or the response is empty (HTTP 200) before
parsing the JSON response. A invalid JSON response would throw a
JsonSyntaxException exception which the callers are not catching.
@alvasw alvasw marked this pull request as draft January 10, 2024 12:51
@alvasw alvasw marked this pull request as ready for review January 11, 2024 08:56
Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK

Copy link
Contributor

@alejandrogarcia83 alejandrogarcia83 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK

@alejandrogarcia83 alejandrogarcia83 merged commit 501b554 into bisq-network:master Jan 14, 2024
@alejandrogarcia83 alejandrogarcia83 added this to the v1.9.15 milestone Jan 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants