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

Support and test creation of Swift accounts via API #5852

Merged
merged 4 commits into from
Dec 20, 2021

Conversation

ghubstan
Copy link
Contributor

The Swift account is one of the more complicated setups, and the API adds instructions for defining them in a payment account json form.

The default method sorts by currency name, in come cases we need to
sort by currency code, e.g., swift accounts.  This method allows
sorting by either.
The API uses reflection to figure out how to build a payment acct json
form, and the tradeCurrencies field needs to be set after reflection
API's onstructor.newInstance() is called.
Swift specific comments are included in the create payment acct json form.
@ripcurlx ripcurlx added this to the v1.8.1 milestone Dec 20, 2021
Copy link
Contributor

@ripcurlx ripcurlx left a comment

Choose a reason for hiding this comment

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

ACK - Tested it on Regtest. Everything worked as expected.

@ripcurlx ripcurlx merged commit 23d1856 into bisq-network:master Dec 20, 2021
@ghubstan ghubstan deleted the create-swift-acct-with-api branch January 3, 2022 12:31
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