Skip to content
Snippets Groups Projects
Commit 1f731ae4 authored by Robert Martin-Legene's avatar Robert Martin-Legene
Browse files

renamed $tcpport to $netport

parent b6df3357
No related branches found
No related tags found
No related merge requests found
......@@ -125,8 +125,8 @@ function nodedir
test -d "${BFANODEDIR}/geth/chaindata" ||
fatal "Node is not initialised. Consider running: geth --datadir $BFANODEDIR init ${BFANETWORKDIR}/genesis.json"
test -r "${BFANODEDIR}/port" ||
echo $(( $RANDOM / 2 + 12345 )) > ${BFANODEDIR}/tcpport
httpport=$( cat ${BFANODEDIR}/tcpport )
echo $(( $RANDOM / 2 + 12345 )) > ${BFANODEDIR}/netport
httpport=$( cat ${BFANODEDIR}/netport )
test -r "${BFANODEDIR}/rpcport" ||
echo $(( $RANDOM / 2 + 12345 )) > ${BFANODEDIR}/rpcport
rpcport=$( cat ${BFANODEDIR}/rpcport )
......
......@@ -80,7 +80,7 @@ exec flock --nonblock --exclusive ${dir}/rpcport \
--networkid $BFANETWORKID \
--rpc \
--rpcport $rpcport \
--port $tcpport \
--port $netport \
--syncmode full \
--nousb \
--bootnodes "${bootnodes}" \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment