diff --git a/suchwow/routes/post.py b/suchwow/routes/post.py index e1321fc..091efdc 100644 --- a/suchwow/routes/post.py +++ b/suchwow/routes/post.py @@ -15,7 +15,6 @@ def top(): top_posts = {} posts = Post.select() for post in posts: - balance = float(wownero.Wallet().balances(post.account_index)[1]) transfers = [] incoming = wownero.Wallet().incoming_transfers(post.account_index) if "transfers" in incoming: @@ -25,7 +24,7 @@ def top(): if total > 0: top_posts[post.id] = { "post": post, - "balance": total + "total": float(total) } return render_template("post/top.html", posts=top_posts) diff --git a/suchwow/templates/post/read.html b/suchwow/templates/post/read.html index fbaa697..5e31542 100644 --- a/suchwow/templates/post/read.html +++ b/suchwow/templates/post/read.html @@ -14,7 +14,7 @@
{{ post.text }}
Submitted by {{ post.submitter }} at {{ post.timestamp }}