-
-
Notifications
You must be signed in to change notification settings - Fork 128
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
serialize payment account payload to comma delimited string #1553
base: master
Are you sure you want to change the base?
serialize payment account payload to comma delimited string #1553
Conversation
perhaps the alternative place for this change is 'write' method of PaymentAccountTypeAdaptor class. |
Yeah I think the PaymentAccountTypeAdapter is actually the right place to put it, as a counterpart to reading accepted country codes and trade currencies. Otherwise I suppose the serialization should at least be part of |
675bcd3
to
1af5cef
Compare
agreed, done with the changes. |
1af5cef
to
94d3302
Compare
The implementation looks ok, but it seems the type adapter is not being invoked when writing out json. I tried some obvious things to register the type adapter in PaymentAccount, but those didn't work. The solution can be tested and verified by running the test "Can validate payment account forms" in HavenoClient.test.ts. That test is failing after the PR is applied. |
Unable to run the tests locally! Test Logs:
Funding Docker logs:
|
Trying to run it with current code first and then with my local branch changes by changing below (in dockerfile):
|
Port 28084 is for the local monerod for the tests. Tests need to be run with |
tried above commands along with mining and also running funding-wallet-local make, but none worked out for running the test cases. |
fixes #1549