From f6f3ff6e294b160ee9bcb5228b9e0f5fdacb6588 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C5=93ur?= Date: Sat, 6 Jan 2024 21:14:20 +0100 Subject: [PATCH] fix: base62 conversion in peer-id generation (#6486) --- update-version-h.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update-version-h.sh b/update-version-h.sh index db2f9a028..477e45509 100755 --- a/update-version-h.sh +++ b/update-version-h.sh @@ -47,7 +47,7 @@ fi # '-TR400B-' (4.0.0 Beta) # '-TR400Z-' (4.0.0 Dev) # '-TR4000-' (4.0.0) -BASE62=($(echo {0..9} {A..A} {a..z})) +BASE62=($(echo {0..9} {A..Z} {a..z})) peer_id_prefix="-TR${BASE62[$(( 10#$major_version ))]}${BASE62[$(( 10#$minor_version ))]}${BASE62[$(( 10#$patch_version ))]}" if [ "$is_dev" = true ]; then peer_id_prefix="${peer_id_prefix}Z"