Skip to content

Commit

Permalink
Bittrex skip over empty market name
Browse files Browse the repository at this point in the history
  • Loading branch information
thrasher- committed Sep 14, 2017
1 parent 4a67eda commit 1237223
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exchanges/bittrex/bittrex_wrapper.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1237223

Please sign in to comment.