From 7a3787d4b708d57f2d6bd5bcd6ccb08d81ccfd95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Se=C3=A1n=20Hampson?= Date: Tue, 23 May 2023 16:26:16 +0100 Subject: [PATCH] Fix for #2305 Don't display button(Run the numbers) until sync is complete Prevent fetchTotalSupply() from running unless sync is complete --- .../templates/node/components/bitcoin_core_info.jinja | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/cryptoadvance/specter/templates/node/components/bitcoin_core_info.jinja b/src/cryptoadvance/specter/templates/node/components/bitcoin_core_info.jinja index b2f833916..a5b84e868 100644 --- a/src/cryptoadvance/specter/templates/node/components/bitcoin_core_info.jinja +++ b/src/cryptoadvance/specter/templates/node/components/bitcoin_core_info.jinja @@ -39,6 +39,7 @@ {% endif %}

+ {% if verificationprogress >= 100 %}
{{ _("Run the numbers") }} @@ -47,6 +48,7 @@
+ {% endif %} {% if current_user.is_admin %}