feat: Fix lockup amount and auctions page

This commit is contained in:
2024-03-15 15:07:27 +11:00
parent afd7ae2947
commit 40b4c42492
4 changed files with 4 additions and 2 deletions

View File

@@ -138,6 +138,8 @@ def getBalance(account: str):
if domain['state'] == "CLOSED":
domainValue += domain['value']
total = total - (domainValue/1000000)
locked = locked - (domainValue/1000000)
# Only keep 2 decimal places
total = round(total, 2)