Skip to content

Commit

Permalink
backend: add litecoin to btcdirect supported coins
Browse files Browse the repository at this point in the history
BTC Direct supports buying and selling LTC through their private
trading desk, so the link and info should also be shown to Litecoin
accounts on exchange selection.
  • Loading branch information
sutterseba committed Nov 12, 2024
1 parent f200fd0 commit 3b7a879
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/exchanges/btcdirect.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func GetBtcDirectSupportedRegions() []string {
// IsBtcDirectSupported is true if coin.Code and region are supported by BtcDirect.
func IsBtcDirectSupported(coinCode coin.Code, region string) bool {
supportedCoins := []coin.Code{
coin.CodeBTC, coin.CodeTBTC, coin.CodeETH, coin.CodeSEPETH,
coin.CodeBTC, coin.CodeTBTC, coin.CodeLTC, coin.CodeTLTC, coin.CodeETH, coin.CodeSEPETH,
"eth-erc20-usdt", "eth-erc20-usdc", "eth-erc20-link"}

coinSupported := slices.Contains(supportedCoins, coinCode)
Expand Down

0 comments on commit 3b7a879

Please sign in to comment.