Skip to content

Commit

Permalink
fix: reverse base and quote
Browse files Browse the repository at this point in the history
  • Loading branch information
sajcics authored and nickpater committed Mar 20, 2020
1 parent a6e90a3 commit 5612cdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/payrue.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module.exports = async () => {
);

return tickers.map((ticker) => {
const [base, quote] = ticker.symbol.split('/').reverse();
const [quote, base] = ticker.symbol.split('/');

return new Ticker({
base,
Expand Down

0 comments on commit 5612cdc

Please sign in to comment.