From 1accb8b3a3d3f06f7591a6d85020e88d7658b769 Mon Sep 17 00:00:00 2001 From: memdmp Date: Wed, 22 Jan 2025 18:58:03 +0100 Subject: fix: fallback to manual hash entry if blank --- contrib/sig-canaries | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib') diff --git a/contrib/sig-canaries b/contrib/sig-canaries index 26d8e4d..8b9fbf1 100755 --- a/contrib/sig-canaries +++ b/contrib/sig-canaries @@ -66,7 +66,7 @@ manual_monero_hash_entry() { } get_monero() { IS_MANUAL=false; - export MONERO_HASH="$(localmonero_blockhash_api || (IS_MANUAL=true; manual_monero_hash_entry))" + export MONERO_HASH="$(localmonero_blockhash_api && [[ "$MONERO_HASH" != "" ]] || (IS_MANUAL=true; manual_monero_hash_entry))" statustext echo -e 'Validation Sources:' if [[ "$IS_MANUAL" == "true" ]]; then -- cgit v1.2.3