Libraries refactor and add some sinks #4

Closed
m wants to merge 136 commits from library-refactor into master
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 05993ac119 - Show all commits

View File

@ -604,7 +604,7 @@ class Transactions(object):
if not contact["data"]["is_selling"]: if not contact["data"]["is_selling"]:
continue continue
if currency == "USD": if currency == "USD":
cumul_usd += amount cumul_usd += float(amount)
else: else:
rate = rates[currency] rate = rates[currency]
amount_usd = float(amount) / rate amount_usd = float(amount) / rate