Fix exchange rate display

This commit is contained in:
luk3yx 2020-10-06 20:28:31 +13:00
parent c6322b49c4
commit 1a55f7da6c
1 changed files with 1 additions and 1 deletions

View File

@ -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