Skip to content

Commit

Permalink
Fix soroban config error reporting (#653)
Browse files Browse the repository at this point in the history
  • Loading branch information
2opremio authored Dec 16, 2024
1 parent 43a09bb commit 8ba15a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions start
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8ba15a3

Please sign in to comment.