Compare commits
No commits in common. "16ac6c7d2b0d02aaf513a0469046c2c5dbaea645" and "b0c7fcf779675a04747b9cf95a24a84be6ceaa9b" have entirely different histories.
16ac6c7d2b
...
b0c7fcf779
@ -17,19 +17,12 @@ If you have HSD runnning on a separate computer also add the IP here
|
|||||||
|
|
||||||
Make sure HSD is running then run the following commands:
|
Make sure HSD is running then run the following commands:
|
||||||
|
|
||||||
On Linux:
|
|
||||||
```bash
|
```bash
|
||||||
python3 server.py
|
python3 server.py
|
||||||
# Or for more verbose output
|
# Or for more verbose output
|
||||||
python3 main.py
|
python3 main.py
|
||||||
```
|
```
|
||||||
|
|
||||||
On Windows:
|
|
||||||
```bash
|
|
||||||
python main.py
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
Then access the wallet at http://localhost:5000
|
Then access the wallet at http://localhost:5000
|
||||||
|
|
||||||
|
|
||||||
|
@ -134,8 +134,7 @@ def getBalance(account: str):
|
|||||||
domains = getDomains(account)
|
domains = getDomains(account)
|
||||||
domainValue = 0
|
domainValue = 0
|
||||||
for domain in domains:
|
for domain in domains:
|
||||||
if domain['state'] == "CLOSED":
|
domainValue += domain['value']
|
||||||
domainValue += domain['value']
|
|
||||||
total = total - (domainValue/1000000)
|
total = total - (domainValue/1000000)
|
||||||
|
|
||||||
# Only keep 2 decimal places
|
# Only keep 2 decimal places
|
||||||
|
Loading…
Reference in New Issue
Block a user