From 1963b12bf64824c9b54dbbc7c49ab166f7002cca Mon Sep 17 00:00:00 2001 From: nolim1t Date: Wed, 24 Jun 2020 17:26:16 +0700 Subject: [PATCH] Add testnet port --- configure-box.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/configure-box.sh b/configure-box.sh index 6a59239..953a21c 100755 --- a/configure-box.sh +++ b/configure-box.sh @@ -34,6 +34,7 @@ if [ ! -z $TESTNET ] && [ -z $REGTEST ]; then sed -i 's/\#\[test\]/\[test\]/g;' bitcoin/bitcoin.conf sed -i 's/\#testnet=1/testnet=1/g' bitcoin/bitcoin.conf sed -i 's/rpcport=8332/rpcport=18332/g; ' bitcoin/bitcoin.conf + sed -i 's/port=8332/port=18333/g; ' bitcoin/bitcoin.conf echo "Setting testnet port" sed -i 's/RPCPORT/18332/g; ' docker-compose.yml # Update docker-compose