Skip to content

Commit

Permalink
Restrict matic swaps on exolix
Browse files Browse the repository at this point in the history
Exolix is incorrectly assuming matic bep20 as the token and user is sending or wanting
  • Loading branch information
paullinator committed Nov 9, 2022
1 parent 26cca2a commit b2e278e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/swap/exolix.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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']
}
Expand Down

0 comments on commit b2e278e

Please sign in to comment.