Skip to content

Commit

Permalink
chore: fix incorrect variable check for fallbackRoutingHook (#611)
Browse files Browse the repository at this point in the history
  • Loading branch information
barajeel authored Feb 21, 2025
1 parent 6a675ad commit 40da5cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/check-mailbox-hooks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 40da5cb

Please sign in to comment.