docker: fix ltcd ports

Fixes execution in `start-ltcctl.sh` and simplifies building `PARAMS`


fixes `ltcctl` execution
This commit is contained in:
Bjarne Magnussen committed 2019-11-06 10:05:06 +01:00
1 parent 1a5e39db88
commit 0328348431
5 files changed
+24 -18

No files matched your search

+1 -2
View File
@@ -46,7 +46,7 @@ NETWORK=$(set_default "$NETWORK" "simnet")
PARAMS=""
if [ "$NETWORK" != "mainnet" ]; then
PARAMS=$(echo --$NETWORK)
PARAMS="--$NETWORK"
fi
PARAMS=$(echo $PARAMS \
@@ -72,4 +72,3 @@ PARAMS="$PARAMS $@"
# Print command and start bitcoin node.
echo "Command: btcd $PARAMS"
exec btcd $PARAMS