mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-04-11 21:29:29 +02:00
modify gRPC
This commit is contained in:
parent
176bf5d160
commit
149c1ff1ce
@ -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…
x
Reference in New Issue
Block a user