Pass network correctly to url param (#2144)
Omar Hatem committed
Apr 2, 2025 at 18:52 UTC
d318e9134cf826a00606713e1773eddeba0bfd37
1 file changed
+1
-1
lib/buy/onramper/onramper_buy_provider.dart
+1
-1
@@ -232,7 +232,7 @@ class OnRamperBuyProvider extends BuyProvider {
232
'${prefix}defaultAmount': amount.toString(),
233
if (paymentMethod != null) '${prefix}defaultPaymentMethod': paymentMethod,
234
'onlyOnramps': quote.rampId,
235
- 'networkWallets': '${quote.cryptoCurrency.fullName?.toUpperCase()}:$cryptoCurrencyAddress',
235
+ 'networkWallets': '${_tagToNetwork(quote.cryptoCurrency.tag ?? quote.cryptoCurrency.title)}:$cryptoCurrencyAddress',
236
'supportSwap': "false",
237
'primaryColor': primaryColor,
238
'secondaryColor': secondaryColor,