mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-11-16 17:27:37 +00:00
minor fix
This commit is contained in:
parent
8d7a6fba81
commit
f0c499dfd0
2 changed files with 3 additions and 3 deletions
|
@ -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';
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue