From 2ba48b5c4c7af0b90f524047b02f5403f9e58293 Mon Sep 17 00:00:00 2001 From: memdmp Date: Wed, 22 Jan 2025 19:00:51 +0100 Subject: fix: allow forcing manual --- contrib/sig-canaries | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/sig-canaries b/contrib/sig-canaries index 8b9fbf1..856a009 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 && [[ "$MONERO_HASH" != "" ]] || (IS_MANUAL=true; manual_monero_hash_entry))" + export MONERO_HASH="$(([[ "$IS_MANUAL_MONERO_HEIGHT_ENTRY" == "" ]] && localmonero_blockhash_api && [[ "$MONERO_HASH" != "" ]]) || (IS_MANUAL=true; manual_monero_hash_entry 1>&2 && echo -n "$MONERO_HASH"))" statustext echo -e 'Validation Sources:' if [[ "$IS_MANUAL" == "true" ]]; then -- cgit v1.2.3