temporarily disable wownero as a receiving currency in fixed rate trades

This commit is contained in:
julian 2023-02-16 11:40:41 -06:00
parent 196f377228
commit 99e6d514e5

View file

@ -385,6 +385,19 @@ class _ExchangeFormState extends ConsumerState<ExchangeForm> {
final sendAmount = ref.read(exchangeFormStateProvider).sendAmount!;
final estimate = ref.read(exchangeFormStateProvider).estimate!;
if (rateType == ExchangeRateType.fixed && toTicker.toUpperCase() == "WOW") {
await showDialog<void>(
context: context,
builder: (context) => const StackOkDialog(
title: "WOW error",
message:
"Wownero is temporarily disabled as a receiving currency for fixed rate trades due to network issues",
),
);
return;
}
String rate;
switch (rateType) {