Bittrex skip over empty market name

This commit is contained in:
Adrian Gallagher
2017-09-14 15:44:45 +10:00
parent 4a67edac99
commit 1237223b7f

View File

@@ -32,7 +32,7 @@ func (b *Bittrex) Run() {
}
var currencies []string
for x := range exchangeProducts {
if !exchangeProducts[x].IsActive {
if !exchangeProducts[x].IsActive || exchangeProducts[x].MarketName == "" {
continue
}
currencies = append(currencies, exchangeProducts[x].MarketName)