mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-06-08 07:26:48 +00:00
Remove non-needed getter functions for currency pairs
Fixes https://github.com/thrasher-/gocryptotrader/issues/180
This commit is contained in:
@@ -81,7 +81,7 @@ func (b *Bitflyer) GetTickerPrice(p pair.CurrencyPair, assetType string) (ticker
|
||||
|
||||
// CheckFXString upgrades currency pair if needed
|
||||
func (b *Bitflyer) CheckFXString(p pair.CurrencyPair) pair.CurrencyPair {
|
||||
if common.StringContains(p.GetFirstCurrency().String(), "FX") {
|
||||
if common.StringContains(p.FirstCurrency.String(), "FX") {
|
||||
p.FirstCurrency = "FX_BTC"
|
||||
return p
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user