Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docker/scripts/cluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ function bind_mesh {
let peer_port=$(($peer_port_begin + $i - 1))
let user_port=$(($user_port_begin + $i - 1))

jq ".contract.id=$contract_id | .contract.roundtime=2000 | .mesh.port=$peer_port | .user.port=$user_port" $cfg_file > $cfg_file.tmp \
jq ".contract.id=$contract_id | .contract.consensus.roundtime=2000 | .mesh.port=$peer_port | .user.port=$user_port" $cfg_file > $cfg_file.tmp \
&& mv $cfg_file.tmp $cfg_file

all_pubkeys[i]=$(jq --raw-output ".node.public_key" $cfg_file)
Expand Down Expand Up @@ -338,4 +338,4 @@ elif [ $command = "sync" ]; then
sync_contract_bundle
elif [ $command = "status" ]; then
show_status
fi
fi