~singpolyma/sgx-jmp

467644416713d9a1073ec09e6e4c21f5efa836b1 — Stephen Paul Weber 1 year, 1 month ago 39729c2
Fix variable reference
1 files changed, 2 insertions(+), 2 deletions(-)

M lib/btc_sell_prices.rb
M lib/btc_sell_prices.rb => lib/btc_sell_prices.rb +2 -2
@@ 49,8 49,8 @@ protected

			EM.promise_defer {
				# OXR gem is not async, so defer to threadpool
				oxr.update_rates
				oxr.get_rate("CAD", "USD")
				@oxr.update_rates
				@oxr.get_rate("CAD", "USD")
			}.then do |orate|
				@redis.set("cad_to_usd", orate, ex: 60 * 60).then { orate }
			end