mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-06-04 15:10:54 +00:00
Split up common.go, file path fixes and much more
This commit is contained in:
@@ -4,6 +4,7 @@ import (
|
||||
"errors"
|
||||
"fmt"
|
||||
"strconv"
|
||||
"strings"
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
@@ -155,7 +156,7 @@ func (b *Bitstamp) FetchTradablePairs(asset assets.AssetType) ([]string, error)
|
||||
continue
|
||||
}
|
||||
|
||||
pair := common.SplitStrings(pairs[x].Name, "/")
|
||||
pair := strings.Split(pairs[x].Name, "/")
|
||||
products = append(products, pair[0]+pair[1])
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user