File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -217,9 +217,11 @@ then
217217 fi
218218fi
219219
220- # set minimum gas prices & rpc port
221- sed -i.bak -e " s/^minimum-gas-prices *=.*/minimum-gas-prices = \" $minimum_gas_prices \" /" $node_home /config/app.toml
222- sed -i.bak ' /^\[rpc]/,/^\[/{s/^laddr[[:space:]]*=.*/laddr = "tcp:\/\/0.0.0.0:26657"/}' $node_home /config/config.toml
220+ # set minimum gas prices & rpc port...
221+ sed -i -e " s/^minimum-gas-prices *=.*/minimum-gas-prices = \" $minimum_gas_prices \" /" $node_home /config/app.toml
222+ sed -i ' /^\[rpc]/,/^\[/{s/^laddr[[:space:]]*=.*/laddr = "tcp:\/\/0.0.0.0:26657"/}' $node_home /config/config.toml
223+ sed -i -e " s/^max_num_inbound_peers *=.*/max_num_inbound_peers = 400/" $node_home /config/config.toml
224+ sed -i -e " s/^max_num_outbound_peers *=.*/max_num_outbound_peers = 100/" $node_home /config/config.toml
223225
224226echo " download genesis file..."
225227if [[ $addrbook_url == * .json.gz ]]
You can’t perform that action at this time.
0 commit comments