Compare commits

...

3 Commits

Author SHA1 Message Date
16ac6c7d2b
Merge branch 'dev'
All checks were successful
Build Docker / Build Image (push) Successful in 1m1s
2024-02-13 10:01:21 +11:00
f525c0f1fd
fix: Update readme to include windows instructions
All checks were successful
Build Docker / Build Image (push) Successful in 21s
2024-02-13 10:00:55 +11:00
c28874bb1c
fix: Check that domains are closed before including their value
All checks were successful
Build Docker / Build Image (push) Successful in 29s
2024-02-13 09:56:46 +11:00
2 changed files with 9 additions and 1 deletions

View File

@ -17,12 +17,19 @@ If you have HSD runnning on a separate computer also add the IP here
Make sure HSD is running then run the following commands:
On Linux:
```bash
python3 server.py
# Or for more verbose output
python3 main.py
```
On Windows:
```bash
python main.py
```
Then access the wallet at http://localhost:5000

View File

@ -134,6 +134,7 @@ def getBalance(account: str):
domains = getDomains(account)
domainValue = 0
for domain in domains:
if domain['state'] == "CLOSED":
domainValue += domain['value']
total = total - (domainValue/1000000)