Run gofmt and fix poloniex orderbook issue

Fixes https://github.com/thrasher-/gocryptotrader/issues/40
This commit is contained in:
Adrian Gallagher
2017-08-09 23:18:23 -07:00
parent 4c2cf605a2
commit 0f55715987
15 changed files with 29 additions and 29 deletions

View File

@@ -71,7 +71,7 @@ func AppendExchangeInfo(exchange, crypto, fiat string, price, volume float64) {
}
func ExchangeInfoAlreadyExists(exchange, crypto, fiat string, price, volume float64) bool {
for i, _ := range ExchInfo {
for i := range ExchInfo {
if ExchInfo[i].Exchange == exchange && ExchInfo[i].FirstCurrency == crypto && ExchInfo[i].FiatCurrency == fiat {
ExchInfo[i].Price, ExchInfo[i].Volume = price, volume
return true