mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-25 11:13:12 +02:00
next try
This commit is contained in:
@@ -132,8 +132,8 @@ do
|
||||
# execute REST call
|
||||
#echo "${command}"
|
||||
#result=$($command)
|
||||
POSTDATA="{'wallet_password': '${walletPasswordBase64}'}"
|
||||
result=$(curl -X POST -d "${POSTDATA}" --cacert /home/bitcoin/.lnd/tls.cert --header "$MACAROON_HEADER" https://localhost:8080/v1/unlockwallet)
|
||||
POSTDATA="'{\"wallet_password\": \"${walletPasswordBase64}\"}'"
|
||||
result=$(curl -X POST -d ${POSTDATA} --cacert /home/bitcoin/.lnd/tls.cert --header "$MACAROON_HEADER" https://localhost:8080/v1/unlockwallet)
|
||||
echo "${result}"
|
||||
|
||||
else
|
||||
|
Reference in New Issue
Block a user