Skip to content

Commit

Permalink
Fix POL codes with Simplex and Paybis
Browse files Browse the repository at this point in the history
  • Loading branch information
peachbits committed Oct 9, 2024
1 parent db13c89 commit ea9d000
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/plugins/gui/providers/paybisProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ const PAYBIS_TO_EDGE_CURRENCY_MAP: Record<string, ExtendedTokenId> = {
ETH: { pluginId: 'ethereum', tokenId: null },
LTC: { pluginId: 'litecoin', tokenId: null },
DOT: { pluginId: 'polkadot', tokenId: null },
'MATIC-POLYGON': { pluginId: 'polygon', currencyCode: 'MATIC', tokenId: null },
POL: { pluginId: 'polygon', currencyCode: 'POL', tokenId: null },
SOL: { pluginId: 'solana', tokenId: null },
TRX: { pluginId: 'tron', tokenId: null },
XLM: { pluginId: 'stellar', tokenId: null },
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/gui/providers/simplexProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ const SIMPLEX_ID_MAP: { [pluginId: string]: { [currencyCode: string]: string } }
one: { ONE: 'ONE' },
optimism: { ETH: 'ETH-OPTIMISM', OP: 'OP' },
polkadot: { DOT: 'DOT' },
polygon: { GMEE: 'GMEE', MATIC: 'MATIC', USDC: 'USDC-MATIC' },
polygon: { GMEE: 'GMEE', POL: 'POL', USDC: 'USDC-MATIC' },
qtum: { QTUM: 'QTUM' },
ravencoin: { RVN: 'RVN' },
ripple: { XRP: 'XRP' },
Expand Down

0 comments on commit ea9d000

Please sign in to comment.