diff --git a/home.admin/_background.sh b/home.admin/_background.sh index 20c2f3c..dd79bb1 100644 --- a/home.admin/_background.sh +++ b/home.admin/_background.sh @@ -132,10 +132,10 @@ do # unlock thru REST call curl -s \ - -H "Grpc-Metadata-macaroon: ${macaroonData})" \ + -H "Grpc-Metadata-macaroon: ${macaroonData}" \ --cacert /home/bitcoin/.lnd/tls.cert \ -X POST -d "{\"wallet_password\": \"${walletPasswordBase64}\"}" \ - https://127.0.0.1:8080/v1/unlockwallet 2>&1 + https://localhost:8080/v1/unlockwallet 2>&1 else echo "lncli says not locked"