From 6f8c4387751b08bc4ad2fd02512721bdc812b894 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Mon, 13 Jan 2014 16:40:18 -0800 Subject: Use bid rate not ask --- public/js/calculator.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'public') diff --git a/public/js/calculator.coffee b/public/js/calculator.coffee index 1602fb3a..9a98c214 100644 --- a/public/js/calculator.coffee +++ b/public/js/calculator.coffee @@ -81,7 +81,7 @@ setup = -> fetchExchangeRate = -> $.ajax( - url: "ticker?symbol=#{g.symbol}&type=ask&amount=1000", + url: "ticker?symbol=#{g.symbol}&type=bid&amount=1000", success: (exchange) -> if exchange? clear(EXCHANGE_FAIL) -- cgit v1.2.3