From 8ba15a3208a892f338a5927f67f3187065517c55 Mon Sep 17 00:00:00 2001 From: Alfonso Acosta Date: Mon, 16 Dec 2024 23:28:41 +0100 Subject: [PATCH] Fix soroban config error reporting (#653) --- start | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/start b/start index 013456c0..b138ad69 100644 --- a/start +++ b/start @@ -62,8 +62,8 @@ function validate_before_start() { function validate_after_copy_defaults() { if [ "$NETWORK" = "local" ] && [ "$LIMITS" != "default" ]; then - local config_dir="$COREHOME/etc/config-settings" - local config_path="$config_dir/p$PROTOCOL_VERSION/$LIMITS.json" + local config_dir="$COREHOME/etc/config-settings/p$PROTOCOL_VERSION" + local config_path="$config_dir/$LIMITS.json" if [ ! -f "$config_path" ]; then echo "--limits '$LIMITS' unknown: must be one of: default "$(ls $config_dir | sed 's/\.json//g') exit 1