aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2014-01-13 16:40:18 -0800
committerAdam Soltys <[email protected]>2014-01-13 16:40:18 -0800
commit6f8c4387751b08bc4ad2fd02512721bdc812b894 (patch)
tree37d488372fd9a2a310f9c03baff9ee443dcca31a
parent9eedeab5b524c342e32b83cc344907778894bfb0 (diff)
downloadcoinos-server-6f8c4387751b08bc4ad2fd02512721bdc812b894.tar.gz
coinos-server-6f8c4387751b08bc4ad2fd02512721bdc812b894.zip
Use bid rate not ask
-rw-r--r--public/js/calculator.coffee2
1 files changed, 1 insertions, 1 deletions
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)