minor fix

This commit is contained in:
Serhii 2024-09-30 18:06:34 +03:00
parent 8d7a6fba81
commit f0c499dfd0
2 changed files with 3 additions and 3 deletions

View file

@ -78,7 +78,7 @@ class DFXBuyProvider extends BuyProvider {
Future<String> auth() async {
final signMessage = await getSignature(
await getSignMessage()); //TODO: Sign message does not work for LTC and BCH
await getSignMessage());
final requestBody = jsonEncode({
'wallet': walletName,
@ -230,7 +230,7 @@ class DFXBuyProvider extends BuyProvider {
paymentMethod = normalizePaymentMethod(paymentType);
if (paymentMethod == null) paymentMethod = paymentType.name;
} else {
paymentMethod = 'Card';
paymentMethod = 'Bank';
}
final action = isBuyAction ? 'buy' : 'sell';

View file

@ -254,7 +254,7 @@ class OnRamperBuyProvider extends BuyProvider {
switch (tag) {
case 'OMNI':
return tag;
case 'POLY':
case 'POL':
return 'POLYGON';
default:
return CryptoCurrency.fromString(tag).fullName ?? tag;