Skip to content

Commit

Permalink
Add correct flag for local devnet client node
Browse files Browse the repository at this point in the history
  • Loading branch information
raychu86 committed Mar 15, 2024
1 parent 14cc679 commit 1bca44d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion devnet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ for client_index in "${client_indices[@]}"; do
tmux new-window -t "devnet:$window_index" -n "window-$window_index"

# Send the command to start the validator to the new window and capture output to the log file
tmux send-keys -t "devnet:window-$window_index" "snarkos start --nodisplay --dev $window_index --client --logfile $log_file" C-m
tmux send-keys -t "devnet:window-$window_index" "snarkos start --nodisplay --dev $window_index --dev-num-validators $total_validators --client --logfile $log_file" C-m
done

# Attach to the tmux session to view and interact with the windows
Expand Down

0 comments on commit 1bca44d

Please sign in to comment.