Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: serialize values of /maker/start request body as strings #458

Merged
2 commits merged into from
Aug 11, 2022

Conversation

theborakompanioni
Copy link
Collaborator

@theborakompanioni theborakompanioni commented Aug 8, 2022

Before this commit, values of POST /maker/start have been passed as int/decimal types.
After this commit, they well be passed according to the api docs as strings.

This prevents an exception on the backend builtins.TypeError: a bytes-like object is required, not 'float'. It seemed to still have worked fine before (at least for absolute offers).

@theborakompanioni theborakompanioni added the bug Something isn't working label Aug 8, 2022
@theborakompanioni theborakompanioni self-assigned this Aug 8, 2022
@theborakompanioni theborakompanioni marked this pull request as ready for review August 10, 2022 11:25
@theborakompanioni theborakompanioni requested a review from a user August 10, 2022 11:25
src/libs/JmWalletApi.ts Outdated Show resolved Hide resolved
@ghost ghost merged commit dd7943b into master Aug 11, 2022
@ghost ghost deleted the fix-request-body-fee-prop branch August 11, 2022 10:19
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant