From d318e9134cf826a00606713e1773eddeba0bfd37 Mon Sep 17 00:00:00 2001 From: Omar Hatem Date: Wed, 2 Apr 2025 18:52:51 +0200 Subject: [PATCH] Pass network correctly to url param (#2144) --- lib/buy/onramper/onramper_buy_provider.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/buy/onramper/onramper_buy_provider.dart b/lib/buy/onramper/onramper_buy_provider.dart index 827877dcb..b48228bd8 100644 --- a/lib/buy/onramper/onramper_buy_provider.dart +++ b/lib/buy/onramper/onramper_buy_provider.dart @@ -232,7 +232,7 @@ class OnRamperBuyProvider extends BuyProvider { '${prefix}defaultAmount': amount.toString(), if (paymentMethod != null) '${prefix}defaultPaymentMethod': paymentMethod, 'onlyOnramps': quote.rampId, - 'networkWallets': '${quote.cryptoCurrency.fullName?.toUpperCase()}:$cryptoCurrencyAddress', + 'networkWallets': '${_tagToNetwork(quote.cryptoCurrency.tag ?? quote.cryptoCurrency.title)}:$cryptoCurrencyAddress', 'supportSwap': "false", 'primaryColor': primaryColor, 'secondaryColor': secondaryColor,