From 70718f6f21bdfb7755064a5d5732fc141e887bd2 Mon Sep 17 00:00:00 2001 From: Nico Flaig Date: Fri, 9 Aug 2024 11:25:25 +0100 Subject: [PATCH] Fix trimming of graffiti --- validator/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/validator/entrypoint.sh b/validator/entrypoint.sh index 52f46a8..22a353d 100755 --- a/validator/entrypoint.sh +++ b/validator/entrypoint.sh @@ -9,7 +9,7 @@ fi # Handle Graffiti Character Limit oLang=$LANG oLcAll=$LC_ALL LANG=C LC_ALL=C -graffitiString=${GRAFFITI:0:32} +graffitiString=$(echo "$GRAFFITI" | cut -c 1-32) LANG=$oLang LC_ALL=$oLcAll exec node /usr/app/node_modules/.bin/lodestar \