From 1a55f7da6c87e09c96e8eae596df9255d07771b9 Mon Sep 17 00:00:00 2001 From: luk3yx Date: Tue, 6 Oct 2020 20:28:31 +1300 Subject: [PATCH] Fix exchange rate display --- core.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core.lua b/core.lua index 16dcc30..c0dbf4f 100644 --- a/core.lua +++ b/core.lua @@ -154,7 +154,7 @@ local function sync() -- Only set lurkcoin.exchange_rate once if not exchange_rate_set then - get('exchange_rates', {source = lurkcoin.server_name, target = '', + get('exchange_rates', {source = '', target = lurkcoin.server_name, amount = 1}, function(res) if res.success and type(res.result) == 'number' then lurkcoin.exchange_rate = res.result