From 149c1ff1ce2fde2895a52e30f28ee0697c036a0b Mon Sep 17 00:00:00 2001 From: /geco Date: Sun, 23 Dec 2018 15:32:49 +0100 Subject: [PATCH] modify gRPC --- home.admin/_background.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"