Add btcln; add 2 assets to SideShift (#890)

* Add btcln; add 2 assets to SideShift

* fix regex line

* change ordering
This commit is contained in:
Justin Ehrenhofer
2023-04-20 20:55:44 +02:00
committed by GitHub
parent 8f16af4748
commit ab20312e61
4 changed files with 11 additions and 2 deletions
@@ -29,9 +29,7 @@ class SideShiftExchangeProvider extends ExchangeProvider {
CryptoCurrency.dcr,
CryptoCurrency.kmd,
CryptoCurrency.mkr,
CryptoCurrency.near,
CryptoCurrency.oxt,
CryptoCurrency.paxg,
CryptoCurrency.pivx,
CryptoCurrency.rune,
CryptoCurrency.rvn,
@@ -300,6 +298,8 @@ class SideShiftExchangeProvider extends ExchangeProvider {
return 'usdcsol';
case CryptoCurrency.maticpoly:
return 'polygon';
case CryptoCurrency.btcln:
return 'ln';
default:
return currency.title.toLowerCase();
}
@@ -285,6 +285,8 @@ class TrocadorExchangeProvider extends ExchangeProvider {
return 'ERC20';
case 'TRX':
return 'TRC20';
case 'LN':
return 'Lightning';
default:
return tag.toLowerCase();
}