feat: update examples, finish USDT support

This commit is contained in:
Joshua Seigler 2017-02-03 10:01:28 -05:00
parent c05de815f4
commit 945ad8d2be
2 changed files with 7 additions and 7 deletions

View file

@ -135,7 +135,7 @@ function renderChart(
}
CacheManager::set('poloniex-supported-currencies', $supportedCurrencies, 60 * 60 * 24 * 7); // asking once a week doesn't seem like too much
}
if ($currencyB != 'btc' || !in_array($currencyA, $supportedCurrencies)) {
if (!in_array($currencyB, ['btc', 'usdt']) || !in_array($currencyA, $supportedCurrencies)) {
return false;
}