Skip to content
This repository has been archived by the owner on Mar 28, 2023. It is now read-only.

Reorder exchange rate providers #809

Merged
merged 1 commit into from Jan 3, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 4 additions & 4 deletions Godeps/Godeps.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions bitcoin/zcashd/zcashprices.go
Expand Up @@ -49,10 +49,10 @@ func NewZcashPriceFetcher(dialer proxy.Dialer) *ZcashPriceFetcher {
client := &http.Client{Transport: tbTransport, Timeout: time.Minute}

z.providers = []*ExchangeRateProvider{
{"https://api.kraken.com/0/public/Ticker?pair=ZECXBT", z.cache, client, KrakenDecoder{}, bp},
{"https://api.bitfinex.com/v1/pubticker/zecbtc", z.cache, client, BitfinexDecoder{}, bp},
{"https://bittrex.com/api/v1.1/public/getticker?market=btc-zec", z.cache, client, BittrexDecoder{}, bp},
{"https://api.bitfinex.com/v1/pubticker/zecbtc", z.cache, client, BitfinexDecoder{}, bp},
{"https://poloniex.com/public?command=returnTicker", z.cache, client, PoloniexDecoder{}, bp},
{"https://api.kraken.com/0/public/Ticker?pair=ZECXBT", z.cache, client, KrakenDecoder{}, bp},
}
go z.run()
return &z
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.