From 40da5cbebda7294794d19a8143779cac1f312ba2 Mon Sep 17 00:00:00 2001 From: Barajeel <0xsilomir@gmail.com> Date: Fri, 21 Feb 2025 20:20:53 +0300 Subject: [PATCH] chore: fix incorrect variable check for fallbackRoutingHook (#611) --- scripts/check-mailbox-hooks.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/check-mailbox-hooks.sh b/scripts/check-mailbox-hooks.sh index 3093ad934..1529603c2 100755 --- a/scripts/check-mailbox-hooks.sh +++ b/scripts/check-mailbox-hooks.sh @@ -43,7 +43,7 @@ for chain_dir in chains/*/; do # Check if addresses.yaml has a fallbackRoutingHook entry fallback_routing_hook=$(yq e '.fallbackRoutingHook' "$addresses_file") - if [ "$merkle_tree_hook" = "null" ]; then + if [ "$fallback_routing_hook" = "null" ]; then echo "$chain_name: No address for fallbackRoutingHook, skipping." continue fi