From b2e278e829ad98ed019aab67c54e6d12b47124a0 Mon Sep 17 00:00:00 2001 From: Paul V Puey Date: Wed, 9 Nov 2022 15:34:30 -0800 Subject: [PATCH] Restrict matic swaps on exolix Exolix is incorrectly assuming matic bep20 as the token and user is sending or wanting --- src/swap/exolix.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/swap/exolix.ts b/src/swap/exolix.ts index 6b2f6665..2872656c 100644 --- a/src/swap/exolix.ts +++ b/src/swap/exolix.ts @@ -34,9 +34,13 @@ const asInitOptions = asObject({ const INVALID_CURRENCY_CODES: InvalidCurrencyCodes = { from: { + ethereum: ['MATIC'], + polygon: 'allCodes', binancesmartchain: 'allCodes' }, to: { + ethereum: ['MATIC'], + polygon: 'allCodes', binancesmartchain: 'allCodes', zcash: ['ZEC'] }