lib/cryptum/api.rb in cryptum-0.0.304 vs lib/cryptum/api.rb in cryptum-0.0.305
- old
+ new
@@ -246,10 +246,10 @@
product_id = option_choice.symbol.to_s.gsub('_', '-').upcase
this_product = event_history.order_book[:this_product]
base_increment = this_product[:base_increment]
quote_increment = this_product[:quote_increment]
- crypto_smallest_decimal = base_increment.to_s.split('.')[-1].length
+ # crypto_smallest_decimal = base_increment.to_s.split('.')[-1].length
fiat_smallest_decimal = quote_increment.to_s.split('.')[-1].length
order_hash = {}
order_hash[:type] = 'limit'