fix: Use hsd.hns.au to get name from namehash in order to only import account once

This commit is contained in:
2025-08-26 15:26:19 +10:00
parent 49e378803d
commit 4c84bc2bbe
3 changed files with 15 additions and 12 deletions

View File

@@ -56,10 +56,6 @@ def blocks_to_time(blocks: int) -> str:
if hours == 0:
return f"{days} days"
return f"{days} days {hours} hrs"
@app.route('/')
def index():
@@ -82,6 +78,8 @@ def index():
return render_template("index.html", account=account, plugins=plugins)
info = gitinfo.get_git_info()
if info is None:
return render_template("index.html", account=account, plugins=plugins)
branch = info['refs']
commit = info['commit']
if commit != latestVersion(branch):