Skip to content

Commit

Permalink
chore: fix linters
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidMinarsch committed Nov 20, 2023
1 parent ffeb60a commit 4679553
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def get_circulating_supply_simple():
- timelock
)

circulating_supply_decimals = circulating_supply / 10 ** 18
circulating_supply_decimals = circulating_supply / 10**18
return str(circulating_supply_decimals)


Expand All @@ -116,7 +116,7 @@ def get_total_supply():
def get_total_supply_simple():
"""Get total suply api endpoint."""
total_supply = olas_contract.functions.totalSupply().call()
total_supply_decimals = total_supply / 10 ** 18
total_supply_decimals = total_supply / 10**18
return str(total_supply_decimals)


Expand Down

0 comments on commit 4679553

Please sign in to comment.