Finish implementation and tests for the cheat system #3

Closed
m wants to merge 67 commits from cheat-refactor into master
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 1a9a9980e2 - Show all commits

View File

@ -385,7 +385,7 @@ class Agora(object):
base_currency_price = rates
for ad in ads:
price = float(ad[2])
rate = round(price / base_currency_price, 2)
rate = round(price / base_currency_price, 4)
ad.append(asset)
ad.append(rate)
return sorted(ads, key=lambda x: x[2])