-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
SEPA Account - editable account name and accepted countries #5930
Conversation
desktop/src/main/java/bisq/desktop/main/account/content/fiataccounts/FiatAccountsDataModel.java
Outdated
Show resolved
Hide resolved
@xyzmaker123 Did you try out what happens when you do this on an already signed account? I fear that this will invalidate the account signing state as it changes the hash as well. |
@ripcurlx I didn't tried it on an already signed account - I don't know how to invoke this scenario on localnet dev setup. IIUC acceptedCountries are not used for hash calculation - only iban, bic, countryCode and paymentMethodId |
Edge case scenario I tested:
|
Hi @xyzmaker123 if this is possible it would be great. SEPA countries have changed over the last 12 months (more have been added) so it would be good for accounts set up prior to this to be able to add more countries they are happy to trade with. I would also propose they should also be able to edit the 'account name' as essentially this is just the nickname given to the account and only used by the users local Bisq instance. |
Just to make sure: In this PR the SEPA countries are not extended/changed:
|
There was a problem hiding this 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.
- with signed account, where countries were changed --> account still signed
- created offer with account, changed countries afterwards, created another offer --> both offers/trades are valid as countries are part of the offer and won't be changed at a later stage
I'm still merging this PR although as Codacy has permission issues (again) |
Great job @xyzmaker123 ! Thanks |
Hi @xyzmaker123 thanks for this. Does this also work for SEPA Instant? Apologies just thought of this now :) |
@pazza83 Yes - I also included SEPA Instant accounts during implementation |
Video:
Fixes #5692