From a809fee5356f71ecd5d496316e59940581dca647 Mon Sep 17 00:00:00 2001 From: Chris Buckland Date: Mon, 2 Sep 2024 16:44:35 +0100 Subject: [PATCH] Dont test for l3 tx if no l3node --- .github/workflows/testnode.bash | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/testnode.bash b/.github/workflows/testnode.bash index 33c6b55..d89bfd1 100755 --- a/.github/workflows/testnode.bash +++ b/.github/workflows/testnode.bash @@ -13,9 +13,15 @@ if [ $? -ne 0 ]; then exit 1 fi + START=$(date +%s) L2_TRANSACTION_SUCCEEDED=false -L3_TRANSACTION_SUCCEEDED=false +L3_TRANSACTION_SUCCEEDED=true +for arg in "$@"; do + if [ "$arg" = "--l3node" ]; then + L3_TRANSACTION_SUCCEEDED=false + fi +done SUCCEEDED=false while true; do