Browse Source

modify gRPC

dev
/geco 6 years ago
parent
commit
149c1ff1ce
  1. 4
      home.admin/_background.sh

4
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"

Loading…
Cancel
Save