mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-16 07:26:47 +00:00
Liqui skip empty pairs
This commit is contained in:
@@ -91,7 +91,7 @@ func (l *Liqui) GetFee(currency string) (float64, error) {
|
||||
func (l *Liqui) GetAvailablePairs(nonHidden bool) []string {
|
||||
var pairs []string
|
||||
for x, y := range l.Info.Pairs {
|
||||
if nonHidden && y.Hidden == 1 {
|
||||
if nonHidden && y.Hidden == 1 || x == "" {
|
||||
continue
|
||||
}
|
||||
pairs = append(pairs, common.StringToUpper(x))
|
||||
|
||||
Reference in New Issue
Block a user