From d28719d33f3c41d26741684564e0a689fa966ec7 Mon Sep 17 00:00:00 2001 From: minds <0xminds@gmail.com> Date: Sun, 9 Feb 2025 14:35:52 +0300 Subject: [PATCH] chore: fix incorrect variable check in routing logic --- 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