mirror of
https://github.com/haveno-dex/haveno-ts.git
synced 2025-01-27 06:47:06 -05:00
test xgb with pay by mail
This commit is contained in:
parent
0c8437413d
commit
eed5d523e5
@ -3487,6 +3487,7 @@ function getValidFormInput(form: PaymentAccountForm, fieldId: PaymentAccountForm
|
|||||||
case PaymentAccountFormField.FieldId.TRADE_CURRENCIES:
|
case PaymentAccountFormField.FieldId.TRADE_CURRENCIES:
|
||||||
if (field.getComponent() === PaymentAccountFormField.Component.SELECT_ONE) {
|
if (field.getComponent() === PaymentAccountFormField.Component.SELECT_ONE) {
|
||||||
if (form.getId() === PaymentAccountForm.FormId.F2F) return "XAU";
|
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?
|
return field.getSupportedCurrenciesList()[0]!.getCode(); // TODO: randomly select?
|
||||||
}
|
}
|
||||||
else return field.getSupportedCurrenciesList().map(currency => currency.getCode()).join(',');
|
else return field.getSupportedCurrenciesList().map(currency => currency.getCode()).join(',');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user