Skip to content

Commit

Permalink
♻️ Fix Formatting
Browse files Browse the repository at this point in the history
Test transaction: FOUNDRY_DISABLE_NIGHTLY_WARNING=1 ./safe_hashes.sh --network optimism --address 0xc95264b920B56C9786045A2FD7464E51013D2cCC --nonce 0

Signed-off-by: Pascal Marco Caversaccio <[email protected]>
  • Loading branch information
pcaversaccio committed Mar 5, 2025
1 parent 761b4fa commit 2afcd20
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions safe_hashes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -495,9 +495,10 @@ warn_if_delegate_call() {
if [[ "$operation" -eq 1 && ! " ${TRUSTED_FOR_DELEGATE_CALL[@]} " =~ " ${to} " ]]; then
echo
cat <<EOF
${BOLD}${RED}WARNING: The transaction includes an untrusted delegate call to address $to!
$(tput setaf 1)WARNING: The transaction includes an untrusted delegate call to address $to!
This may lead to unexpected behaviour or vulnerabilities.
Please review it carefully before you sign!${RESET}
Please review it carefully before you sign!$(tput sgr0)
EOF
fi
}
Expand Down

0 comments on commit 2afcd20

Please sign in to comment.