diff --git a/wowstash/blueprints/wallet/routes.py b/wowstash/blueprints/wallet/routes.py index ea60ed4..b63c226 100644 --- a/wowstash/blueprints/wallet/routes.py +++ b/wowstash/blueprints/wallet/routes.py @@ -11,7 +11,7 @@ from datetime import datetime from wowstash.blueprints.wallet import wallet_bp from wowstash.library.docker import docker from wowstash.library.helpers import capture_event -from wowstash.library.jsonrpc import Wallet, to_atomic +from wowstash.library.jsonrpc import Wallet, daemon, to_atomic from wowstash.library.cache import cache from wowstash.forms import Send, Delete, Restore from wowstash.factory import db @@ -86,6 +86,9 @@ def dashboard(): return render_template( 'wallet/dashboard.html', transfers=all_transfers, + wallet_height=wallet.height(), + node_height=daemon.height(), + node_addr=config.DAEMON_HOST, sorted_txes=get_sorted_txes(transfers), balances=balances, address=address, diff --git a/wowstash/templates/wallet/dashboard.html b/wowstash/templates/wallet/dashboard.html index b69a37c..28aafa4 100644 --- a/wowstash/templates/wallet/dashboard.html +++ b/wowstash/templates/wallet/dashboard.html @@ -17,7 +17,10 @@

Balance

-

{{ balances[1] | from_atomic }} WOW ({{ (balances[0] - balances[1]) | from_atomic }} locked)

+

{{ balances[1] | from_atomic }} WOW ({{ (balances[0] - balances[1]) | from_atomic }} locked)


+

Wallet height: {{ wallet_height['height'] }}


+

Node height: {{ node_height['height'] }}


+

Node address: {{ node_addr }}

See Txes