Browse Source

Add Testnet support if we don't want to be #reckless

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

4
configure-box.sh

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

Loading…
Cancel
Save