Skip to content

Commit

Permalink
♻️ swap base and target symbol
Browse files Browse the repository at this point in the history
  • Loading branch information
Swingcloud authored Nov 10, 2018
1 parent 92aa2c4 commit ef66521
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cryptoexchange/exchanges/bitrabbit/services/pairs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def fetch
def adapt(output)
output.map do |pair, ticker|
next unless ticker['isFrozen'] == '0'
base, target = pair.split('_')
target, base = pair.split('_')
Cryptoexchange::Models::MarketPair.new(
base: base,
target: target,
Expand Down

0 comments on commit ef66521

Please sign in to comment.