docker: fix ltcd ports
Fixes execution in `start-ltcctl.sh` and simplifies building `PARAMS` fixes `ltcctl` execution
This commit is contained in:
1 parent
1a5e39db88
commit
0328348431
5 files changed
+24
-18
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user