mirror of
https://github.com/haveno-dex/haveno-ts.git
synced 2025-07-01 18:16:41 -04:00
test xgb with pay by mail
This commit is contained in:
parent
0c8437413d
commit
eed5d523e5
1 changed files with 1 additions and 0 deletions
|
@ -3487,6 +3487,7 @@ function getValidFormInput(form: PaymentAccountForm, fieldId: PaymentAccountForm
|
|||
case PaymentAccountFormField.FieldId.TRADE_CURRENCIES:
|
||||
if (field.getComponent() === PaymentAccountFormField.Component.SELECT_ONE) {
|
||||
if (form.getId() === PaymentAccountForm.FormId.F2F) return "XAU";
|
||||
if (form.getId() === PaymentAccountForm.FormId.PAY_BY_MAIL) return "XGB";
|
||||
return field.getSupportedCurrenciesList()[0]!.getCode(); // TODO: randomly select?
|
||||
}
|
||||
else return field.getSupportedCurrenciesList().map(currency => currency.getCode()).join(',');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue