Merge pull request #232 from GeorgeSpark-Stahl/master

Quote PasswordC in Unlock Command
This commit is contained in:
Christian Rotzoll
2019-01-10 00:17:03 +01:00
committed by GitHub

View File

@@ -126,7 +126,7 @@ do
# building REST command
passwordC=$(cat /root/lnd.autounlock.pwd)
sudo python /home/admin/config.scripts/lnd.unlock.py $passwordC
sudo python /home/admin/config.scripts/lnd.unlock.py '$passwordC'
#walletPasswordBase64=$(cat /root/lnd.autounlock.pwd | tr -d '\n' | base64 -w0)
#MACAROON_HEADER="Grpc-Metadata-macaroon: $(xxd -ps -u -c 1000 /mnt/hdd/lnd/data/chain/${network}/${chain}net/admin.macaroon)"