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