From eacc1b154561feac586b3269d0fd4aaaa35635a8 Mon Sep 17 00:00:00 2001 From: nolim1t Date: Wed, 24 Jun 2020 17:24:56 +0700 Subject: [PATCH] Adjust port for regtest --- configure-box.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/configure-box.sh b/configure-box.sh index cfeec9c..6a59239 100755 --- a/configure-box.sh +++ b/configure-box.sh @@ -54,6 +54,7 @@ if [ -z $TESTNET ] && [ ! -z $REGTEST ]; then sed -i 's/\#\[regtest\]/\[regtest\]/g;' bitcoin/bitcoin.conf sed -i 's/\#regtest=1/regtest=1/g' bitcoin/bitcoin.conf sed -i 's/rpcport=8332/rpcport=18443/g; ' bitcoin/bitcoin.conf + sed -i 's/port=8333/port=18444/; ' bitcoin/bitcoin.conf sed -i 's/mainnet/regtest/g; ' docker-compose.yml echo "Setting regtest port" sed -i 's/RPCPORT/18443/g; ' docker-compose.yml