Browse Source

fix TESTNET= variable

patch-1
nolim1t 5 years ago
parent
commit
4493c94e33
No known key found for this signature in database GPG Key ID: F6287B82CC84BCBD
  1. 2
      configure-box.sh

2
configure-box.sh

@ -29,7 +29,7 @@ echo "Configuring LND rpc info"
sed -i "s/RPCPASS/${RPCPASS}/g; " lnd/lnd.conf sed -i "s/RPCPASS/${RPCPASS}/g; " lnd/lnd.conf
if [ ! -z $TESTNET ]; then if [ ! -z $TESTNET ]; then
echo "Enabling testnet if TESTNET variable is set" echo "Enabling testnet if TESTNET variable is set"
echo "testnet=1" >> bitcoin.conf echo "testnet=1" >> bitcoin/bitcoin.conf
fi fi
rm configure-box.sh rm configure-box.sh
echo "Box Configuration complete" echo "Box Configuration complete"

Loading…
Cancel
Save